Skip to content

Commit

Permalink
Disable rezooming on intermediate point addition (#1868)
Browse files Browse the repository at this point in the history
  • Loading branch information
twitwi authored and karussell committed Jan 28, 2020
1 parent 7f0a357 commit 7acdcf9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/main/resources/assets/js/main-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ function setIntermediateCoord(e) {
});
var index = routeManipulation.getIntermediatePointIndex(routeSegments, e.latlng);
ghRequest.route.add(e.latlng.wrap(), index);
ghRequest.do_zoom = false;
resolveIndex(index);
routeIfAllResolved();
}
Expand Down

0 comments on commit 7acdcf9

Please sign in to comment.