Skip to content

Commit

Permalink
fix: never screenshot windows if thumbnails are hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
xconverge authored and lwouis committed Oct 20, 2023
1 parent 8211613 commit 5e7f44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/App.swift
Expand Up @@ -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()
}
Expand Down

0 comments on commit 5e7f44b

Please sign in to comment.