mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 19:01:15 +00:00
Placed Fred's change on a branch for further investigation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/NSControl_mouseDown_fix@23391 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6a31d3eab1
commit
8fde5c6099
1 changed files with 0 additions and 7 deletions
|
@ -747,9 +747,6 @@ static Class actionCellClass;
|
|||
return;
|
||||
}
|
||||
|
||||
// stop cell from sending action while tracking the mouse...
|
||||
oldActionMask = [_cell sendActionOn: ([_cell isContinuous]?NSPeriodicMask:0)];
|
||||
|
||||
// loop until mouse goes up
|
||||
e = theEvent;
|
||||
while (1)
|
||||
|
@ -785,14 +782,10 @@ static Class actionCellClass;
|
|||
dequeue: YES];
|
||||
if ([e type] == NSLeftMouseUp)
|
||||
{
|
||||
mouseUp = YES;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// allow the cell to send actions again...
|
||||
[_cell sendActionOn: oldActionMask];
|
||||
|
||||
// Mouse went up inside the control but not inside the cell
|
||||
if (mouseUp)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue