mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 09:04:02 +02:00
Fix issue where preset browser would show after continuing a line (close #5770)
This commit is contained in:
@@ -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));
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user