Skip to content

Commit

Permalink
fix: title would sometimes not show when mouse hovering
Browse files Browse the repository at this point in the history
this would happen in AppIcons Style, when a window changed in the background, while AltTab was open
  • Loading branch information
lwouis committed Dec 28, 2024
1 parent b373fc4 commit dd05ba2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ui/main-window/ThumbnailsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit dd05ba2

Please sign in to comment.