From e6bfc382a59d250df9466ae8fb05eb2d70580edf Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Tue, 18 Jul 2023 22:25:26 +1200 Subject: [PATCH] cleanup: Removed unused hotkeys from hotkeys modal --- .../system/components/HotkeysModal/HotkeysModal.tsx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/invokeai/frontend/web/src/features/system/components/HotkeysModal/HotkeysModal.tsx b/invokeai/frontend/web/src/features/system/components/HotkeysModal/HotkeysModal.tsx index 4a7f4292eb..ac8c684949 100644 --- a/invokeai/frontend/web/src/features/system/components/HotkeysModal/HotkeysModal.tsx +++ b/invokeai/frontend/web/src/features/system/components/HotkeysModal/HotkeysModal.tsx @@ -15,7 +15,7 @@ import { ModalOverlay, useDisclosure, } from '@chakra-ui/react'; -import { cloneElement, ReactElement } from 'react'; +import { ReactElement, cloneElement } from 'react'; import { useTranslation } from 'react-i18next'; import HotkeysModalItem from './HotkeysModalItem'; @@ -65,11 +65,6 @@ export default function HotkeysModal({ children }: HotkeysModalProps) { desc: t('hotkeys.pinOptions.desc'), hotkey: 'Shift+O', }, - { - title: t('hotkeys.toggleViewer.title'), - desc: t('hotkeys.toggleViewer.desc'), - hotkey: 'Z', - }, { title: t('hotkeys.toggleGallery.title'), desc: t('hotkeys.toggleGallery.desc'), @@ -109,11 +104,6 @@ export default function HotkeysModal({ children }: HotkeysModalProps) { desc: t('hotkeys.setParameters.desc'), hotkey: 'A', }, - { - title: t('hotkeys.restoreFaces.title'), - desc: t('hotkeys.restoreFaces.desc'), - hotkey: 'Shift+R', - }, { title: t('hotkeys.upscale.title'), desc: t('hotkeys.upscale.desc'),