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)} />