Flash error when cannot finish drawing self-intersecting area

This commit is contained in:
Quincy Morgan
2020-03-10 15:36:13 -07:00
parent d82936ff24
commit b86486c69f
+1
View File
@@ -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
}