mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 21:31:56 +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
6440780eb2
commit
078ad71cec
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>
|
2013-12-07 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSClipView.m (-setDocumentView:): Don't take the
|
* Source/NSClipView.m (-setDocumentView:): Don't take the
|
||||||
|
|
|
@ -230,14 +230,14 @@ static inline NSRect integralRect (NSRect rect, NSView *view)
|
||||||
- (void) setBounds: (NSRect)b
|
- (void) setBounds: (NSRect)b
|
||||||
{
|
{
|
||||||
[super setBounds: b];
|
[super setBounds: b];
|
||||||
[_documentView setNeedsDisplayInRect: [self documentVisibleRect]];
|
[self setNeedsDisplay: YES];
|
||||||
[_super_view reflectScrolledClipView: self];
|
[_super_view reflectScrolledClipView: self];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) setBoundsSize: (NSSize)aSize
|
- (void) setBoundsSize: (NSSize)aSize
|
||||||
{
|
{
|
||||||
[super setBoundsSize: aSize];
|
[super setBoundsSize: aSize];
|
||||||
[_documentView setNeedsDisplayInRect: [self documentVisibleRect]];
|
[self setNeedsDisplay: YES];
|
||||||
[_super_view reflectScrolledClipView: self];
|
[_super_view reflectScrolledClipView: self];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue