mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:30:37 +00:00
Fixed NSTabView drawing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4555 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0e02356ba4
commit
4f9706e7b2
2 changed files with 6 additions and 3 deletions
|
@ -219,9 +219,11 @@
|
|||
iP.x = rect.origin.x;
|
||||
iP.y = rect.size.height;
|
||||
|
||||
if (itemState == NSSelectedTab)
|
||||
[[NSImage imageNamed:@"common_TabUnSelectedLeft.tiff"]
|
||||
if (itemState == NSSelectedTab) {
|
||||
iP.y -= 1;
|
||||
[[NSImage imageNamed:@"common_TabSelectedLeft.tiff"]
|
||||
compositeToPoint:iP operation: NSCompositeSourceOver];
|
||||
}
|
||||
else if (itemState == NSBackgroundTab)
|
||||
[[NSImage imageNamed:@"common_TabUnSelectedLeft.tiff"]
|
||||
compositeToPoint:iP operation: NSCompositeSourceOver];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue