fix: never screenshot windows if thumbnails are hidden
This commit is contained in:
1 parent
821161363e
commit
5e7f44b5ca
1 file changed
+1
-1
+1
-1
@@ -257,7 +257,7 @@ class App: AppCenterApplication, NSApplicationDelegate {
|
||||
private func refreshSpecificWindows(_ windowsToUpdate: [Window]?, _ currentScreen: NSScreen) -> ()? {
|
||||
windowsToUpdate?.forEach { (window: Window) in
|
||||
guard appIsBeingUsed else { return }
|
||||
window.refreshThumbnail()
|
||||
if !Preferences.hideThumbnails { window.refreshThumbnail() }
|
||||
Windows.refreshIfWindowShouldBeShownToTheUser(window, currentScreen)
|
||||
window.updatesWindowSpace()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user