Skip to content

Commit 3d1aac9

Browse files
committed
Fix that indicator and floating widget becomes invisible after switching space
1 parent b400b81 commit 3d1aac9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Core/Sources/Service/GUI/RealtimeSuggestionIndicatorController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ final class RealtimeSuggestionIndicatorController {
275275
)
276276
frame.size = .init(width: 10, height: 10)
277277
window.alphaValue = 1
278-
window.setFrame(frame, display: false)
278+
window.setFrame(frame, display: true)
279+
window.orderFront(nil)
279280
return
280281
}
281282
}

Core/Sources/SuggestionWidget/SuggestionWidgetController.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,8 @@ public final class SuggestionWidgetController {
299299
}
300300
}
301301

302+
panelWindow.orderFront(nil)
303+
widgetWindow.orderFront(nil)
302304
panelWindow.alphaValue = 1
303305
widgetWindow.alphaValue = 1
304306
return

0 commit comments

Comments
 (0)