mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-04 16:12:58 +00:00
Merge pull request #3017 from daboe01/fixed-sheet-animation-click-issue
fixed: freeze when clicking during sheet animation
This commit is contained in:
1 file changed
+5
@@ -1901,6 +1901,11 @@ CPTexturedBackgroundWindowMask
|
||||
// CPLeftMouseDown is needed for window moving and resizing to work.
|
||||
// CPMouseMoved is needed for rollover effects on title bar buttons.
|
||||
|
||||
// ignore events that happen during open / close animations
|
||||
// not ignoring these would cause the app to freeze thereafter
|
||||
if (sheet && (_sheetContext["isClosing"] || _sheetContext["isOpening"]))
|
||||
return;
|
||||
|
||||
if (sheet && _sheetContext["isAttached"])
|
||||
{
|
||||
switch (type)
|
||||
|
||||
Reference in new issue
Block a user