Working Settings Shortcut

This commit is contained in:
Hariharan Mudaliar 2025-10-26 16:28:43 +05:30
commit 88f5cb68d8
3 changed files with 62 additions and 90 deletions

View file

@ -320,10 +320,9 @@ struct ContentView: View {
}
.sensoryFeedback(.alignment, trigger: haptics)
.contextMenu {
SettingsLink(label: {
Text("Settings")
})
.keyboardShortcut(KeyEquivalent(","), modifiers: .command)
Button("Settings") {
SettingsWindowController.shared.showWindow()
}
// Button("Edit") { // Doesnt work....
// let dn = DynamicNotch(content: EditPanelView())
// dn.toggle()