From cad794ccf2850a302011a831de2892973a7871c7 Mon Sep 17 00:00:00 2001 From: Peter Date: Tue, 24 Sep 2024 12:54:42 +0200 Subject: [PATCH] remove via point without triggering zoom (adding a point does not zoom too) --- src/stores/QueryStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/QueryStore.ts b/src/stores/QueryStore.ts index 924b67d7..40080b1a 100644 --- a/src/stores/QueryStore.ts +++ b/src/stores/QueryStore.ts @@ -242,7 +242,7 @@ export default class QueryStore extends Store { ...state, queryPoints: newPoints, } - return this.routeIfReady(newState, true) + return this.routeIfReady(newState, false) } else if (action instanceof InfoReceived) { // Do nothing if no routing profiles were received if (action.result.profiles.length <= 0) return state