Cancel system move if didn't start (macOS).
This commit is contained in:
parent
da7f4fe425
commit
ae46510920
1 changed files with 4 additions and 1 deletions
|
|
@ -105,7 +105,10 @@ public:
|
|||
_dragStarted = _checkStartDrag();
|
||||
} else if (([e type] == NSEventTypeLeftMouseDragged)
|
||||
&& _dragStarted) {
|
||||
return _checkPerformDrag([e window]);
|
||||
if (_checkPerformDrag([e window])) {
|
||||
return true;
|
||||
}
|
||||
_dragStarted = false;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue