Author: mlytwyn
Date: Thu Dec 10 21:19:26 2015
New Revision: 39230

URL: http://svn.gna.org/viewcvs/gnustep?rev=39230&view=rev
Log:
Do not draw borders for Circular types

Modified:
    libs/gui/branches/gnustep_testplant_branch/Source/NSButtonCell.m

Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSButtonCell.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSButtonCell.m?rev=39230&r1=39229&r2=39230&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSButtonCell.m    
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSButtonCell.m    Thu Dec 
10 21:19:26 2015
@@ -1117,7 +1117,7 @@
   // The inside check could also be done via a track rect, but then this would
   // only work with specially prepared controls. Therefore we dont use 
   // _mouse_inside here.
-  if ((_cell.is_bordered)
+  if ((_cell.is_bordered) && (_bezel_style != NSCircularBezelStyle)
       && (!_shows_border_only_while_mouse_inside 
           || [controlView mouse: [[controlView window] 
mouseLocationOutsideOfEventStream] 
                           inRect: cellFrame]))


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to