mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 20:20:38 +00:00
Lock focus / unlock focus optimizations and fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15839 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
72512673b2
commit
2177ef847e
22 changed files with 111 additions and 115 deletions
|
@ -230,8 +230,6 @@ static NSFont *_leafFont;
|
|||
if (!cvWin)
|
||||
return;
|
||||
|
||||
[controlView lockFocus];
|
||||
|
||||
if (_cell.is_highlighted || _cell.state)
|
||||
{
|
||||
backColor = [self highlightColorInView: controlView];
|
||||
|
@ -308,8 +306,6 @@ static NSFont *_leafFont;
|
|||
NSDottedFrameRect(cellFrame);
|
||||
|
||||
_cell.shows_first_responder = showsFirstResponder;
|
||||
|
||||
[controlView unlockFocus];
|
||||
}
|
||||
|
||||
- (BOOL) isOpaque
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue