mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Sometimes field editor shows up incorrectly when editing cell in table view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@39329 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ffb26b5d34
commit
1232765f08
1 changed files with 4 additions and 2 deletions
|
@ -2328,12 +2328,14 @@ static NSColor *dtxtCol;
|
|||
}
|
||||
|
||||
|
||||
#if 0
|
||||
#if 1
|
||||
// Testplant-MAL-2015-06-20: merging removal causes focus ring issues...
|
||||
// FIXME: we need to draw the focus ring, this works but
|
||||
// there's something wrong about telling the view to come
|
||||
// back here and draw.
|
||||
[controlView setKeyboardFocusRingNeedsDisplayInRect:NSMakeRect (aRect.origin.x - 2.0, aRect.origin.y - 2.0, aRect.size.width + 4.0, aRect.size.height + 4.0)];
|
||||
NSRect focusFrame = NSMakeRect (aRect.origin.x - 2.0, aRect.origin.y - 2.0,
|
||||
aRect.size.width + 4.0, aRect.size.height + 4.0);
|
||||
[controlView setKeyboardFocusRingNeedsDisplayInRect:focusFrame];
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue