Skip to content

Commit f0fa894

Browse files
committed
Lower widget level to floating
1 parent 5c327a8 commit f0fa894

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Core/Sources/Service/GUI/RealtimeSuggestionIndicatorController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ final class RealtimeSuggestionIndicatorController {
116116
it.isReleasedWhenClosed = false
117117
it.isOpaque = false
118118
it.backgroundColor = .white.withAlphaComponent(0)
119-
it.level = .statusBar
119+
it.level = .floating
120120
it.contentView = NSHostingView(
121121
rootView: IndicatorContentView(viewModel: self.viewModel)
122122
.frame(minWidth: 10, minHeight: 10)

Core/Sources/SuggestionWidget/SuggestionWidgetController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public final class SuggestionWidgetController {
3232
it.isReleasedWhenClosed = false
3333
it.isOpaque = false
3434
it.backgroundColor = .clear
35-
it.level = .statusBar
35+
it.level = .floating
3636
it.hasShadow = true
3737
it.contentView = NSHostingView(
3838
rootView: WidgetView(
@@ -54,7 +54,7 @@ public final class SuggestionWidgetController {
5454
it.isReleasedWhenClosed = false
5555
it.isOpaque = false
5656
it.backgroundColor = .clear
57-
it.level = .statusBar
57+
it.level = .floating
5858
it.hasShadow = true
5959
it.contentView = NSHostingView(
6060
rootView: SuggestionPanelView(viewModel: suggestionPanelViewModel)

Core/Sources/UpdateChecker/UpdateChecker.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public struct UpdateChecker {
6767
backing: .buffered,
6868
defer: true
6969
)
70-
window.level = .statusBar
70+
window.level = .floating
7171
window.isReleasedWhenClosed = false
7272
alert.beginSheetModal(for: window) { [window] response in
7373
switch response {

0 commit comments

Comments
 (0)