|
|
|
@ -77,6 +77,11 @@ export const useShortcuts = (): void => {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, { exactMatch: true, useCapture: true })
|
|
|
|
}, { exactMatch: true, useCapture: true })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
useKeyPress(`${getKeyboardKeyCodeBySystem('shift')}.a`, (e) => {
|
|
|
|
|
|
|
|
if (shouldHandleShortcut(e))
|
|
|
|
|
|
|
|
e.preventDefault()
|
|
|
|
|
|
|
|
}, { exactMatch: true, useCapture: true })
|
|
|
|
|
|
|
|
|
|
|
|
useKeyPress(`${getKeyboardKeyCodeBySystem('alt')}.r`, (e) => {
|
|
|
|
useKeyPress(`${getKeyboardKeyCodeBySystem('alt')}.r`, (e) => {
|
|
|
|
if (shouldHandleShortcut(e)) {
|
|
|
|
if (shouldHandleShortcut(e)) {
|
|
|
|
e.preventDefault()
|
|
|
|
e.preventDefault()
|
|
|
|
|