From 094fae030240f26f8148034a06ddddb2dda7ba55 Mon Sep 17 00:00:00 2001 From: kts of kettek Date: Fri, 16 Feb 2024 23:25:22 -0800 Subject: [PATCH] Make arrow shifting active for all tools --- frontend/src/App.svelte | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index 06a8079..a1ab6ce 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -121,10 +121,10 @@ focusedFile?.push(new SelectionClearUndoable())} /> swapTool(toolSelection)} /> swapTool(toolMove)} /> - currentTool===toolMove?toolMove.shift({file: focusedFile}, {x: -1, y: 0, id: 0}):null} /> - currentTool===toolMove?toolMove.shift({file: focusedFile}, {x: 1, y: 0, id: 0}):null} /> - currentTool===toolMove?toolMove.shift({file: focusedFile}, {x: 0, y: -1, id: 0}):null} /> - currentTool===toolMove?toolMove.shift({file: focusedFile}, {x: 0, y: 1, id: 0}):null} /> + toolMove.shift({file: focusedFile}, {x: -1, y: 0, id: 0})} /> + toolMove.shift({file: focusedFile}, {x: 1, y: 0, id: 0})} /> + toolMove.shift({file: focusedFile}, {x: 0, y: -1, id: 0})} /> + toolMove.shift({file: focusedFile}, {x: 0, y: 1, id: 0})} /> swapTool(toolBrush)} /> currentTool===toolBrush?swapTool(toolPicker):null} on:release={()=>previousTool===toolBrush&¤tTool===toolPicker?swapTool(toolBrush):null} /> swapTool(toolFill)} />