Skip to content

Commit

Permalink
remove via point without triggering zoom (adding a point does not zoo…
Browse files Browse the repository at this point in the history
…m too)
  • Loading branch information
karussell committed Sep 24, 2024
1 parent ed881f2 commit cad794c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/QueryStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export default class QueryStore extends Store<QueryStoreState> {
...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
Expand Down

0 comments on commit cad794c

Please sign in to comment.