fix: icons on thumbnails could sometimes be incorrect

example use-case: show a Finder window, and middle-click it. The next thumbnail under the mouse will not show its purple quit icon
This commit is contained in:
lwouis committed 2025-06-14 14:18:55 +02:00
1 parent b0ce899a71
commit b4bc0b006a
1 file changed
+1 -1
+1 -1
View File
@@ -132,7 +132,7 @@ class ThumbnailView: FlippedView {
func showOrHideWindowControls(_ shouldShowWindowControls: Bool) {
let shouldShow = shouldShowWindowControls && !Preferences.hideColoredCircles && !Appearance.hideThumbnails
if Preferences.appearanceStyle == .thumbnails, isShowingWindowControls != shouldShow {
if Preferences.appearanceStyle == .thumbnails {
isShowingWindowControls = shouldShow
for icon in windowControlIcons {
icon.isHidden = !shouldShow