mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:00:47 +00:00
Fix up clipping
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4246 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
115b3cdbf6
commit
6e14f79d10
7 changed files with 27 additions and 26 deletions
|
@ -690,7 +690,7 @@ static inline NSPoint centerSizeInRect(NSSize innerSize, NSRect outerRect)
|
|||
}
|
||||
else if ([self isBezeled])
|
||||
{
|
||||
NSDrawWhiteBezel(cellFrame, cellFrame);
|
||||
NSDrawWhiteBezel(cellFrame, NSZeroRect);
|
||||
}
|
||||
|
||||
[self drawInteriorWithFrame: cellFrame inView: controlView];
|
||||
|
@ -708,9 +708,7 @@ static inline NSPoint centerSizeInRect(NSSize innerSize, NSRect outerRect)
|
|||
if (cell_highlighted != lit)
|
||||
{
|
||||
cell_highlighted = lit;
|
||||
PSgsave();
|
||||
[self drawWithFrame: cellFrame inView: controlView];
|
||||
PSgrestore();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue