Skip to content

Commit aa23118

Browse files
show thumbnailPreview beneath dock
1 parent 7245b4a commit aa23118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/main-window/PreviewPanel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class PreviewPanel: NSPanel {
5757
// 2. Select a window in the switcher that is on the same monitor as the thumbnails panel, and whose position overlaps with the thumbnails panel
5858
// 3. For a single frame, the preview of the newly selected window can appear above the thumbnails panel before going back underneath it
5959
// Simply using order(.below) is not sufficient to prevent this brief flicker. We explicitly set the preview panel's window level to be one below the thumbnails panel
60-
level = NSWindow.Level(rawValue: App.app.thumbnailsPanel.level.rawValue - 1)
60+
level = DockAltTabMode ? .floating : NSWindow.Level(rawValue: App.app.thumbnailsPanel.level.rawValue - 1)
6161
}
6262
}
6363
}

0 commit comments

Comments
 (0)