Skip to content

Commit

Permalink
fix: correct default global shortcut keys
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Feb 13, 2024
1 parent f77be65 commit 875083a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Easydict/NewApp/Feature/Shortcut/Shortcut+Default.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ extension Shortcut {
}

private func setDefaultForGlobalShortcut() {
Defaults[.selectionShortcut] = KeyCombo(key: .d, cocoaModifiers: .option)
Defaults[.snipShortcut] = KeyCombo(key: .s, cocoaModifiers: .option)
Defaults[.inputShortcut] = KeyCombo(key: .a, cocoaModifiers: .option)
Defaults[.screenshotOCRShortcut] = KeyCombo(key: .f, cocoaModifiers: [.option, .shift])
Defaults[.showMiniWindowShortcut] = KeyCombo(key: .s, cocoaModifiers: .option)
Defaults[.snipShortcut] = KeyCombo(key: .s, cocoaModifiers: .option)
Defaults[.selectionShortcut] = KeyCombo(key: .d, cocoaModifiers: .option)
Defaults[.showMiniWindowShortcut] = KeyCombo(key: .f, cocoaModifiers: .option)
Defaults[.screenshotOCRShortcut] = KeyCombo(key: .s, cocoaModifiers: [.option, .shift])
}

private func setDefaultForAppShortcut() {
Expand Down

0 comments on commit 875083a

Please sign in to comment.