File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Easydict/Swift/Feature/Shortcut/View Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ struct KeyHolderWrapper: NSViewRepresentable {
4242 return recordView
4343 }
4444
45- func updateNSView( _: NSViewType , context _ : Context ) { }
45+ func updateNSView( _ nsView : NSViewType , context: Context ) { }
4646
4747 // MARK: Private
4848
@@ -136,6 +136,9 @@ extension KeyHolderWrapper {
136136 . pasteboardTranslate: DefaultsKeyWrapper ( . pasteboardTranslateShortcut) ,
137137 . translateAndReplace: DefaultsKeyWrapper ( . translateAndReplaceShortcut) ,
138138 . polishAndReplace: DefaultsKeyWrapper ( . polishAndReplaceShortcut) ,
139+ . screenshotOCR: DefaultsKeyWrapper ( . screenshotOCRShortcut) ,
140+ . pasteboardOCR: DefaultsKeyWrapper ( . pasteboardOCRShortcut) ,
141+ . showOCRWindow: DefaultsKeyWrapper ( . showOCRWindowShortcut) ,
139142 . clearInput: DefaultsKeyWrapper ( . clearInputShortcut) ,
140143 . clearAll: DefaultsKeyWrapper ( . clearAllShortcut) ,
141144 . copy: DefaultsKeyWrapper ( . copyShortcut) ,
You can’t perform that action at this time.
0 commit comments