diff --git a/web/app/components/workflow/header/undo-redo.tsx b/web/app/components/workflow/header/undo-redo.tsx index bd27e09173..796038ce98 100644 --- a/web/app/components/workflow/header/undo-redo.tsx +++ b/web/app/components/workflow/header/undo-redo.tsx @@ -30,7 +30,7 @@ const UndoRedo: FC = ({ handleUndo, handleRedo }) => { return (
- +
= ({ handleUndo, handleRedo }) => {
- +
{ handleLayout() } + useKeyPress(`${getKeyboardKeyCodeBySystem('ctrl')}.o`, (e) => { + e.preventDefault() + goLayout() + }, { exactMatch: true, useCapture: true }) + const addNote = (e: MouseEvent) => { if (getNodesReadOnly()) return @@ -101,7 +106,7 @@ const Control = () => {
- +
{
- +
{
- +