diff --git a/src/components/map/MapInteraction.tsx b/src/components/map/MapInteraction.tsx index 235b0c6..a14530b 100644 --- a/src/components/map/MapInteraction.tsx +++ b/src/components/map/MapInteraction.tsx @@ -135,6 +135,9 @@ function MapInteraction({ previousSelectedToolRef.current = selectedToolId; onSelectedToolChange("move"); } + if (!event.repeat && shortcuts.move(event) && selectedToolId === "move") { + previousSelectedToolRef.current = "move"; + } } function handleKeyUp(event: KeyboardEvent) {