From af45dbce102ae392f5daaf2b36ff4c3d35baceda Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Fri, 5 Apr 2019 11:37:02 -0400 Subject: [PATCH] Trying to avoid one-off validations when history changes will trigger it --- modules/behavior/draw_way.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/behavior/draw_way.js b/modules/behavior/draw_way.js index 11d5e652d..0827d36c1 100644 --- a/modules/behavior/draw_way.js +++ b/modules/behavior/draw_way.js @@ -349,9 +349,6 @@ export function behaviorDrawWay(context, wayID, index, mode, startGraph, baselin var isNewFeature = !mode.isContinuing; context.enter(modeSelect(context, [wayID]).newFeature(isNewFeature)); - if (isNewFeature) { - context.validator().validate(); - } };