mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 21:06:24 +00:00
Incorporated bug fixes from Benhur Stein.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2587 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fe084aeb94
commit
87966db359
8 changed files with 70 additions and 41 deletions
|
@ -259,7 +259,10 @@ static NSRecursiveLock *gnustep_gui_nsview_lock = nil;
|
|||
|
||||
- (NSView *)opaqueAncestor
|
||||
{
|
||||
return nil;
|
||||
if ([self isOpaque] || !super_view)
|
||||
return self;
|
||||
else
|
||||
return [super_view opaqueAncestor];
|
||||
}
|
||||
|
||||
- (void)removeFromSuperview
|
||||
|
@ -833,7 +836,7 @@ static NSRecursiveLock *gnustep_gui_nsview_lock = nil;
|
|||
NSRect superviewsVisibleRect
|
||||
= [self convertRect:[super_view visibleRect] fromView:super_view];
|
||||
|
||||
return NSIntersectionRect (superviewsVisibleRect, frame);
|
||||
return NSIntersectionRect (superviewsVisibleRect, bounds);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue