diff --git a/lama_cleaner/app/src/components/Editor/Editor.tsx b/lama_cleaner/app/src/components/Editor/Editor.tsx index 57a2fca..74b7670 100644 --- a/lama_cleaner/app/src/components/Editor/Editor.tsx +++ b/lama_cleaner/app/src/components/Editor/Editor.tsx @@ -641,9 +641,6 @@ export default function Editor(props: EditorProps) { // Handle Cmd+Z const undoPredicate = (event: KeyboardEvent) => { // TODO: fix prompt input ctrl+z - if (isSD) { - return false - } const isCmdZ = (event.metaKey || event.ctrlKey) && !event.shiftKey && event.key === 'z' // Handle tab switch @@ -718,9 +715,6 @@ export default function Editor(props: EditorProps) { // Handle Cmd+shift+Z const redoPredicate = (event: KeyboardEvent) => { - if (isSD) { - return false - } const isCmdZ = (event.metaKey || event.ctrlKey) && event.shiftKey &&