From 76afc30811de2f3d53f7867d570883cc3a83ef93 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 12 May 2026 22:35:39 +0200 Subject: [PATCH] Enhance path point handling and simplify path creation status message --- src/app/App.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index c463de44..593995cd 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -5660,7 +5660,9 @@ export function App({ if (isAppendPathPointShortcut) { if (editorState.toolMode === "select" && selectedPath !== null) { event.preventDefault(); - handleAddPathPoint(); + handleAddPathPoint({ + startGrab: event.code === "KeyD" + }); } return; } @@ -9172,11 +9174,7 @@ export function App({ label: "Create path" }) ); - requestViewportFocus({ - kind: "paths", - ids: [nextPath.id] - }); - setStatusMessage("Created Path and framed it in the viewport."); + setStatusMessage("Created Path."); } catch (error) { setStatusMessage(getErrorMessage(error)); }