mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 18:40:47 +00:00
* Source/NSClipView.m (-setDocumentView:): Don't take the
background colour from the document view. Patch by Jeff Teunissen <deek@d2dc.net>. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37440 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bbfd47efe3
commit
6440780eb2
2 changed files with 6 additions and 10 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2013-12-07 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/NSClipView.m (-setDocumentView:): Don't take the
|
||||||
|
background colour from the document view.
|
||||||
|
Patch by Jeff Teunissen <deek@d2dc.net>.
|
||||||
|
|
||||||
2013-12-07 Fred Kiefer <FredKiefer@gmx.de>
|
2013-12-07 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/GSThemeDrawing.m (-drawScrollViewRect:inView:): Use the
|
* Source/GSThemeDrawing.m (-drawScrollViewRect:inView:): Use the
|
||||||
|
|
|
@ -180,16 +180,6 @@ static inline NSRect integralRect (NSRect rect, NSView *view)
|
||||||
df = [_documentView frame];
|
df = [_documentView frame];
|
||||||
[self setBoundsOrigin: df.origin];
|
[self setBoundsOrigin: df.origin];
|
||||||
|
|
||||||
if ([aView respondsToSelector: @selector(backgroundColor)])
|
|
||||||
{
|
|
||||||
[self setBackgroundColor: [(id)aView backgroundColor]];
|
|
||||||
}
|
|
||||||
|
|
||||||
if ([aView respondsToSelector: @selector(drawsBackground)])
|
|
||||||
{
|
|
||||||
[self setDrawsBackground: [(id)aView drawsBackground]];
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Register for notifications sent by the document view */
|
/* Register for notifications sent by the document view */
|
||||||
[_documentView setPostsFrameChangedNotifications: YES];
|
[_documentView setPostsFrameChangedNotifications: YES];
|
||||||
[_documentView setPostsBoundsChangedNotifications: YES];
|
[_documentView setPostsBoundsChangedNotifications: YES];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue