We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48a7d2b commit 78fe12bCopy full SHA for 78fe12b
1 file changed
Core/Sources/SuggestionWidget/ChatWindowView.swift
@@ -23,6 +23,14 @@ struct ChatWindowView: View {
23
Group {
24
if let chat = viewModel.chat {
25
ChatPanel(chat: chat)
26
+ .background {
27
+ Button(action: {
28
+ viewModel.isPanelDisplayed = false
29
+ }) {
30
+ EmptyView()
31
+ }
32
+ .keyboardShortcut("M", modifiers: [.command])
33
34
}
35
36
.opacity(viewModel.isPanelDisplayed ? 1 : 0)
0 commit comments