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
This commit is contained in:
lwouis committed 2024-12-28 19:20:14 +01:00
1 parent b373fc465b
commit dd05ba239e
1 file changed
+3
+3
View File
@@ -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) {