mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 17:30:38 +00:00
Call isFlipped rather than accessing flag directly (fixes a problem with view loaded from a nib)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29906 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6eaffce9ea
commit
2c5b219cd5
2 changed files with 6 additions and 1 deletions
|
@ -700,7 +700,7 @@ static inline NSRect integralRect (NSRect rect, NSView *view)
|
|||
|
||||
- (BOOL) isFlipped
|
||||
{
|
||||
return (_documentView != nil) ? _documentView->_rFlags.flipped_view : NO;
|
||||
return (_documentView != nil) ? [_documentView isFlipped] : NO;
|
||||
}
|
||||
|
||||
/* Disable rotation of clip view */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue