From dd05ba239ec1b5ad1d1ef881d6ea2de3b088e4ba Mon Sep 17 00:00:00 2001 From: lwouis Date: Sat, 28 Dec 2024 18:44:05 +0100 Subject: [PATCH] fix: title would sometimes not show when mouse hovering this would happen in AppIcons Style, when a window changed in the background, while AltTab was open --- src/ui/main-window/ThumbnailsView.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/main-window/ThumbnailsView.swift b/src/ui/main-window/ThumbnailsView.swift index 52af767d..ab24b4fd 100644 --- a/src/ui/main-window/ThumbnailsView.swift +++ b/src/ui/main-window/ThumbnailsView.swift @@ -225,6 +225,9 @@ class ThumbnailsView: NSVisualEffectView { private func highlightStartView() { ThumbnailsView.highlight(Windows.focusedWindowIndex) + if let hoveredWindowIndex = Windows.hoveredWindowIndex { + ThumbnailsView.highlight(hoveredWindowIndex) + } } private func shiftRow(_ maxX: CGFloat, _ rowWidth: CGFloat, _ rowStartIndex: Int, _ index: Int) {