From c2d72cf434689f4440ec8af7dc5615959bd5b1e8 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Mon, 4 Feb 2019 11:30:48 -0500 Subject: [PATCH] Make sure the vertex is visible when using the "continue this feature" quick fix for disconnected way --- modules/validations/disconnected_way.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/validations/disconnected_way.js b/modules/validations/disconnected_way.js index b68e169b8..ef26ebecb 100644 --- a/modules/validations/disconnected_way.js +++ b/modules/validations/disconnected_way.js @@ -60,6 +60,8 @@ export function validationDisconnectedWay() { // prefer the terminating node vertex = endNodes[1]; } + // make sure the vertex is actually visible + context.map().zoomToEase(vertex); context.enter( modeDrawLine(context, way.id, context.graph(), way.affix(vertex.id), true) );