From b86486c69f4b5dc8287fe82fbd5619e1e7f72721 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Tue, 10 Mar 2020 15:36:13 -0700 Subject: [PATCH] Flash error when cannot finish drawing self-intersecting area --- modules/behavior/draw_way.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/behavior/draw_way.js b/modules/behavior/draw_way.js index 6f241de09..0c465042d 100644 --- a/modules/behavior/draw_way.js +++ b/modules/behavior/draw_way.js @@ -366,6 +366,7 @@ export function behaviorDrawWay(context, wayID, index, mode, startGraph, baselin drawWay.finish = function() { checkGeometry(true); // finishDraw = true if (context.surface().classed('nope')) { + dispatch.call('rejectedSelfIntersection', this); return; // can't click here }