mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-01 21:07:36 +00:00
fixed: freeze when clicking during sheet animation
previously, the app froze when clicking somewhere during sheet open/close animations. these adversarial clicks are simply ignored by this PR
This commit is contained in:
1 parent
37756a5853
commit
76d52e07d4
1 file changed
+3
@@ -1901,6 +1901,9 @@ CPTexturedBackgroundWindowMask
|
||||
// CPLeftMouseDown is needed for window moving and resizing to work.
|
||||
// CPMouseMoved is needed for rollover effects on title bar buttons.
|
||||
|
||||
if (sheet && (_sheetContext["isClosing"] || _sheetContext["isOpening"]))
|
||||
return;
|
||||
|
||||
if (sheet && _sheetContext["isAttached"])
|
||||
{
|
||||
switch (type)
|
||||
|
||||
Reference in new issue
Block a user