mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
* Source/NSClipView.m (-setBounds:, -setBoundsSize:): Use
-setNeedsDisplay: to redraw areas no longer covered by the document view. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37441 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
73b1e01475
commit
1b478fabbf
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2013-12-08 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSClipView.m (-setBounds:, -setBoundsSize:): Use
|
||||
-setNeedsDisplay: to redraw areas no longer covered by the
|
||||
document view.
|
||||
|
||||
2013-12-07 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSClipView.m (-setDocumentView:): Don't take the
|
||||
|
|
|
@ -230,14 +230,14 @@ static inline NSRect integralRect (NSRect rect, NSView *view)
|
|||
- (void) setBounds: (NSRect)b
|
||||
{
|
||||
[super setBounds: b];
|
||||
[_documentView setNeedsDisplayInRect: [self documentVisibleRect]];
|
||||
[self setNeedsDisplay: YES];
|
||||
[_super_view reflectScrolledClipView: self];
|
||||
}
|
||||
|
||||
- (void) setBoundsSize: (NSSize)aSize
|
||||
{
|
||||
[super setBoundsSize: aSize];
|
||||
[_documentView setNeedsDisplayInRect: [self documentVisibleRect]];
|
||||
[self setNeedsDisplay: YES];
|
||||
[_super_view reflectScrolledClipView: self];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue