mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:40:53 +00:00
Applyed patch by Matt Rice.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21269 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
086c472fd3
commit
d7a08d0bdb
3 changed files with 12 additions and 4 deletions
|
@ -1603,7 +1603,7 @@ static inline NSRect buttonCellFrameFromRect(NSRect cellRect)
|
|||
if (NSMouseInRect(location, buttonRect, isFlipped))
|
||||
{
|
||||
[_buttonCell setHighlighted: YES];
|
||||
[controlView setNeedsDisplay: YES];
|
||||
[controlView setNeedsDisplayInRect: cellFrame];
|
||||
|
||||
result = [_buttonCell trackMouse: e
|
||||
inRect: buttonRect
|
||||
|
@ -1612,7 +1612,7 @@ static inline NSRect buttonCellFrameFromRect(NSRect cellRect)
|
|||
isMouseUp = result;
|
||||
|
||||
[_buttonCell setHighlighted: NO];
|
||||
[controlView setNeedsDisplay: YES];
|
||||
[controlView setNeedsDisplayInRect: cellFrame];
|
||||
}
|
||||
|
||||
if (isMouseUp == NO)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue