mirror of
https://github.com/purocean/yn.git
synced 2026-10-16 07:26:07 +08:00
refactor: move non-US keybinding support
This commit is contained in:
@@ -74,7 +74,7 @@ import { computed, h, onUnmounted, ref, shallowRef, watch, watchEffect } from 'v
|
||||
import { getDefaultApplicationAccelerators } from '@share/misc'
|
||||
import { getRawActions, registerAction, removeAction } from '@fe/core/action'
|
||||
import { Alt, Cmd, Ctrl, Meta, Shift, Win, disableShortcuts, enableShortcuts, getKeyLabel, getKeysLabel } from '@fe/core/keybinding'
|
||||
import { recordNonUsKey } from '@fe/non-us-keybinding'
|
||||
import { recordNonUsKey } from '@fe/support/non-us-keybinding'
|
||||
import { isMacOS, isOtherOS, isWindows } from '@fe/support/env'
|
||||
import { useModal } from '@fe/support/ui/modal'
|
||||
import { getSetting, setSetting } from '@fe/services/setting'
|
||||
|
||||
@@ -2,7 +2,7 @@ import { upperFirst } from 'lodash-es'
|
||||
import { getLogger } from '@fe/utils'
|
||||
import { isMacOS, isOtherOS, isWindows } from '@fe/support/env'
|
||||
import { FLAG_DISABLE_SHORTCUTS } from '@fe/support/args'
|
||||
import { isNonUsLayoutEnabled, matchNonUsKey } from '@fe/non-us-keybinding'
|
||||
import { isNonUsLayoutEnabled, matchNonUsKey } from '@fe/support/non-us-keybinding'
|
||||
import type { BuildInActions } from '@fe/types'
|
||||
import { getAction, getActionHandler, getRawActions } from './action'
|
||||
import { triggerHook } from './hook'
|
||||
|
||||
Reference in New Issue
Block a user