Skip to content

Commit 3fc5ba7

Browse files
committed
Move suggestion panel window lower in z level
1 parent 59e64f1 commit 3fc5ba7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Core/Sources/SuggestionWidget/SuggestionWidgetController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import XcodeInspector
1212
@MainActor
1313
public final class SuggestionWidgetController: NSObject {
1414
// you should make these window `.transient` so they never show up in the mission control.
15-
15+
1616
private lazy var fullscreenDetector = {
1717
let it = CanBecomeKeyWindow(
1818
contentRect: .zero,
@@ -121,7 +121,7 @@ public final class SuggestionWidgetController: NSObject {
121121
it.isReleasedWhenClosed = false
122122
it.isOpaque = false
123123
it.backgroundColor = .clear
124-
it.level = .init(NSWindow.Level.floating.rawValue + 1)
124+
it.level = .init(NSWindow.Level.floating.rawValue - 1)
125125
it.collectionBehavior = [.fullScreenAuxiliary, .transient]
126126
it.hasShadow = true
127127
it.contentView = NSHostingView(

0 commit comments

Comments
 (0)