From 875083acd2acae92fa52b3243c4bcd79af43c2e7 Mon Sep 17 00:00:00 2001 From: tisfeng Date: Tue, 13 Feb 2024 09:59:52 +0800 Subject: [PATCH] fix: correct default global shortcut keys --- Easydict/NewApp/Feature/Shortcut/Shortcut+Default.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Easydict/NewApp/Feature/Shortcut/Shortcut+Default.swift b/Easydict/NewApp/Feature/Shortcut/Shortcut+Default.swift index 8dbcaba42..685cfa026 100644 --- a/Easydict/NewApp/Feature/Shortcut/Shortcut+Default.swift +++ b/Easydict/NewApp/Feature/Shortcut/Shortcut+Default.swift @@ -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() {