diff --git a/ui/frontend/src/routes/__debug/map/+page.svelte b/ui/frontend/src/routes/__debug/map/+page.svelte index 2719dd8..9b0b907 100644 --- a/ui/frontend/src/routes/__debug/map/+page.svelte +++ b/ui/frontend/src/routes/__debug/map/+page.svelte @@ -91,9 +91,13 @@ // (and any future per-move callback) sees the // change — matches the semantics of a user drag. handle.viewport.moveCenter(cx, cy); + // `MovedEvent.type` is a closed literal union over the + // built-in plugin names; `"animate"` is the closest + // match for a programmatic move and the renderer's + // listeners read only `viewport`. handle.viewport.emit("moved", { viewport: handle.viewport, - type: "manual", + type: "animate", }); }, getViewport: () =>