We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7485ff2 + 23b7f3c commit ae6c551Copy full SHA for ae6c551
1 file changed
Core/Sources/SuggestionWidget/FeatureReducers/WidgetFeature.swift
@@ -208,7 +208,7 @@ public struct WidgetFeature: ReducerProtocol {
208
await send(.updateWindowOpacity(immediately: false))
209
if isDetached {
210
Task { @MainActor in
211
- windows.chatPanelWindow.alphaValue = 1
+ windows.chatPanelWindow.isWindowHidden = false
212
}
213
214
@@ -539,13 +539,7 @@ public struct WidgetFeature: ReducerProtocol {
539
540
541
if isChatPanelDetached {
542
- if windows.chatPanelWindow.alphaValue == 0 {
543
- windows.chatPanelWindow.setFrame(
544
- widgetLocation.defaultPanelLocation.frame,
545
- display: false,
546
- animate: animated
547
- )
548
- }
+ // don't update it!
549
} else {
550
windows.chatPanelWindow.setFrame(
551
widgetLocation.defaultPanelLocation.frame,
0 commit comments