mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
* Source/NSView.m (-beginPageInRect:atPlacement): Remove check for
empty rect. This will now use the placement translation all the time.
This commit is contained in:
parent
d1683876fa
commit
9d8dc3ba55
2 changed files with 9 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
|||
2018-07-27 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSView.m (-beginPageInRect:atPlacement): Remove check for
|
||||
empty rect. This will now use the placement translation all the time.
|
||||
|
||||
2018-07-14 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSPrinter.m (-addPPDKeyword:withScanner:withPPDPath:):
|
||||
|
|
|
@ -4500,12 +4500,10 @@ static NSView* findByTag(NSView *view, NSInteger aTag, NSUInteger *level)
|
|||
}
|
||||
|
||||
/* Translate to placement */
|
||||
if ((location.x != 0 || location.y != 0) && NSIsEmptyRect(aRect) == YES)
|
||||
DPStranslate(ctxt, location.x, location.y);
|
||||
|
||||
// FIXME: Need to place this correctly. Maybe it isn't needed at all,
|
||||
// as all drawing happens in displayRectIgnoringOpacity:
|
||||
// [self lockFocusIfCanDrawInContext: ctxt];
|
||||
if (location.x != 0 || location.y != 0)
|
||||
{
|
||||
DPStranslate(ctxt, location.x, location.y);
|
||||
}
|
||||
}
|
||||
|
||||
- (void) _endSheet
|
||||
|
|
Loading…
Reference in a new issue