mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-26 14:50:56 +00:00
Do not draw borders for Circular types
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@39230 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d7655e2512
commit
8df7a51a46
1 changed files with 1 additions and 1 deletions
|
@ -1117,7 +1117,7 @@ typedef struct _GSButtonCellFlags
|
||||||
// The inside check could also be done via a track rect, but then this would
|
// 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
|
// only work with specially prepared controls. Therefore we dont use
|
||||||
// _mouse_inside here.
|
// _mouse_inside here.
|
||||||
if ((_cell.is_bordered)
|
if ((_cell.is_bordered) && (_bezel_style != NSCircularBezelStyle)
|
||||||
&& (!_shows_border_only_while_mouse_inside
|
&& (!_shows_border_only_while_mouse_inside
|
||||||
|| [controlView mouse: [[controlView window] mouseLocationOutsideOfEventStream]
|
|| [controlView mouse: [[controlView window] mouseLocationOutsideOfEventStream]
|
||||||
inRect: cellFrame]))
|
inRect: cellFrame]))
|
||||||
|
|
Loading…
Reference in a new issue