From 1ef49ef2901417c3552f4f3d1ff81123cf0a6492 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Sun, 23 Jan 2022 13:42:12 +0100 Subject: [PATCH] formatting --- AppKit/CPWindow/CPWindow.j | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AppKit/CPWindow/CPWindow.j b/AppKit/CPWindow/CPWindow.j index e1c42a862..438ec9865 100644 --- a/AppKit/CPWindow/CPWindow.j +++ b/AppKit/CPWindow/CPWindow.j @@ -1901,6 +1901,8 @@ 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;