Author: mlytwyn
Date: Tue Feb 2 23:23:47 2016
New Revision: 39329
URL: http://svn.gna.org/viewcvs/gnustep?rev=39329&view=rev
Log:
Sometimes field editor shows up incorrectly when editing cell in table view
Modified:
libs/gui/branches/gnustep_testplant_branch/Source/NSCell.m
Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSCell.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSCell.m?rev=39329&r1=39328&r2=39329&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSCell.m (original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSCell.m Tue Feb 2
23:23:47 2016
@@ -2328,12 +2328,14 @@
}
-#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
}
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs