From 8eca3bbbcd69913de97c630355c4d7ef79355879 Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Wed, 23 Aug 2023 18:14:01 +1200 Subject: [PATCH] chore: Remove Pinned Hotkeys from Hotkeys Modal --- invokeai/frontend/web/public/locales/en.json | 2 -- .../system/components/HotkeysModal/HotkeysModal.tsx | 10 ---------- 2 files changed, 12 deletions(-) diff --git a/invokeai/frontend/web/public/locales/en.json b/invokeai/frontend/web/public/locales/en.json index df316abdb4..4d4246d8c2 100644 --- a/invokeai/frontend/web/public/locales/en.json +++ b/invokeai/frontend/web/public/locales/en.json @@ -95,7 +95,6 @@ "statusModelConverted": "Model Converted", "statusMergingModels": "Merging Models", "statusMergedModels": "Models Merged", - "pinOptionsPanel": "Pin Options Panel", "loading": "Loading", "loadingInvokeAI": "Loading Invoke AI", "random": "Random", @@ -116,7 +115,6 @@ "maintainAspectRatio": "Maintain Aspect Ratio", "autoSwitchNewImages": "Auto-Switch to New Images", "singleColumnLayout": "Single Column Layout", - "pinGallery": "Pin Gallery", "allImagesLoaded": "All Images Loaded", "loadMore": "Load More", "noImagesInGallery": "No Images to Display", 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 de5b947c75..029444b776 100644 --- a/invokeai/frontend/web/src/features/system/components/HotkeysModal/HotkeysModal.tsx +++ b/invokeai/frontend/web/src/features/system/components/HotkeysModal/HotkeysModal.tsx @@ -60,11 +60,6 @@ export default function HotkeysModal({ children }: HotkeysModalProps) { desc: t('hotkeys.toggleOptions.desc'), hotkey: 'O', }, - { - title: t('hotkeys.pinOptions.title'), - desc: t('hotkeys.pinOptions.desc'), - hotkey: 'Shift+O', - }, { title: t('hotkeys.toggleGallery.title'), desc: t('hotkeys.toggleGallery.desc'), @@ -136,11 +131,6 @@ export default function HotkeysModal({ children }: HotkeysModalProps) { desc: t('hotkeys.nextImage.desc'), hotkey: 'Arrow Right', }, - { - title: t('hotkeys.toggleGalleryPin.title'), - desc: t('hotkeys.toggleGalleryPin.desc'), - hotkey: 'Shift+G', - }, { title: t('hotkeys.increaseGalleryThumbSize.title'), desc: t('hotkeys.increaseGalleryThumbSize.desc'),