Fix issue where preset browser would show after continuing a line (close #5770)

This commit is contained in:
Quincy Morgan
2019-01-28 08:52:20 -05:00
parent 3a48b3b57c
commit 1066f8f788
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -317,8 +317,8 @@ export function behaviorDrawWay(context, wayId, index, mode, startGraph) {
window.setTimeout(function() {
context.map().dblclickEnable(true);
}, 1000);
context.enter(modeSelect(context, [wayId]).newFeature(true));
var isNewFeature = !mode.isContinuing;
context.enter(modeSelect(context, [wayId]).newFeature(isNewFeature));
};