mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 12:50:55 +00:00
Undo last change as it broke Graphos printing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34353 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e54e42c0ca
commit
aaefd51968
2 changed files with 1 additions and 10 deletions
|
@ -1,12 +1,3 @@
|
||||||
2011-12-23 Eric Wasylishen <ewasylishen@gmail.com>
|
|
||||||
|
|
||||||
* Source/NSView.m (-beginPageInRect:atPlacement:): Always translate
|
|
||||||
by the placement value. Previously, we would translate only if the
|
|
||||||
rect parameter was empty, which doesn't make sense to me.
|
|
||||||
This fixes the bug where the last page of a document printed from
|
|
||||||
Ink/TextEdit was incorrectly positioned at the bottom of the
|
|
||||||
printed page.
|
|
||||||
|
|
||||||
2011-12-22 Fred Kiefer <FredKiefer@gmx.de>
|
2011-12-22 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSTextView.m (-setFieldEditor:): Use different values for
|
* Source/NSTextView.m (-setFieldEditor:): Use different values for
|
||||||
|
|
|
@ -4482,7 +4482,7 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Translate to placement */
|
/* Translate to placement */
|
||||||
if ((location.x != 0 || location.y != 0))
|
if ((location.x != 0 || location.y != 0) && NSIsEmptyRect(aRect) == YES)
|
||||||
DPStranslate(ctxt, location.x, location.y);
|
DPStranslate(ctxt, location.x, location.y);
|
||||||
|
|
||||||
// FIXME: Need to place this correctly. Maybe it isn't needed at all,
|
// FIXME: Need to place this correctly. Maybe it isn't needed at all,
|
||||||
|
|
Loading…
Reference in a new issue