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 }