From d02b7294a1528280add3847adcc2ffc107db171f Mon Sep 17 00:00:00 2001 From: thepaperpilot <thepaperpilot@gmail.com> Date: Mon, 19 Dec 2022 07:29:28 -0600 Subject: [PATCH] hotkey tweaks --- src/features/hotkey.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/features/hotkey.tsx b/src/features/hotkey.tsx index b716f9a..e4cd165 100644 --- a/src/features/hotkey.tsx +++ b/src/features/hotkey.tsx @@ -13,7 +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"; +import Hotkey from "components/Hotkey.vue"; export const hotkeys: Record<string, GenericHotkey | undefined> = shallowReactive({}); export const HotkeyType = Symbol("Hotkey"); @@ -103,8 +103,8 @@ registerInfoComponent( <br /> <h4>Hotkeys</h4> {keys.map(hotkey => ( - <div v-if={hotkey !== undefined}> - <HotkeyVue hotkey={hotkey as GenericHotkey} /> {hotkey?.description} + <div> + <Hotkey hotkey={hotkey as GenericHotkey} /> {hotkey?.description} </div> ))} </div>