mirror of
https://github.com/lwouis/alt-tab-macos.git
synced 2026-05-24 11:20:36 +00:00
fix: never screenshot windows if thumbnails are hidden
This commit is contained in:
+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