diff --git a/src/components/Hotkey.vue b/src/components/Hotkey.vue new file mode 100644 index 0000000..c5790e3 --- /dev/null +++ b/src/components/Hotkey.vue @@ -0,0 +1,58 @@ + + + + + + + diff --git a/src/features/hotkey.tsx b/src/features/hotkey.tsx index bfb958f..b716f9a 100644 --- a/src/features/hotkey.tsx +++ b/src/features/hotkey.tsx @@ -13,6 +13,7 @@ import type { import { processComputable } from "util/computed"; import { createLazyProxy } from "util/proxies"; import { shallowReactive, unref } from "vue"; +import HotkeyVue from "components/Hotkey.vue"; export const hotkeys: Record = shallowReactive({}); export const HotkeyType = Symbol("Hotkey"); @@ -102,8 +103,8 @@ registerInfoComponent(

Hotkeys

{keys.map(hotkey => ( -
- {hotkey?.key}: {hotkey?.description} +
+ {hotkey?.description}
))}