fix: missing thumbnails in rare cases
This commit is contained in:
1 parent
fa9e4d0ee1
commit
314259032d
1 file changed
+4
-1
@@ -94,11 +94,14 @@ class AccessibilityEvents {
|
||||
return
|
||||
}
|
||||
Logger.debug { "\(type) win:\(window.debugId)" }
|
||||
if findOrCreate.1 {
|
||||
App.app.refreshOpenUiAfterExternalEvent([window])
|
||||
}
|
||||
if type == kAXMainWindowChangedNotification || type == kAXFocusedWindowChangedNotification {
|
||||
focusedWindowChanged(window)
|
||||
} else if type == kAXWindowResizedNotification || type == kAXWindowMovedNotification {
|
||||
windowResizedOrMoved(window)
|
||||
} else {
|
||||
} else if !findOrCreate.1 {
|
||||
App.app.refreshOpenUiAfterExternalEvent([window])
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user