Do not draw circle when pointer not moved AND freehand is on
This commit is contained in:
@@ -374,7 +374,7 @@ ol.interaction.Draw.handleUpEvent_ = function(event) {
|
||||
this.addToDrawing_(event);
|
||||
}
|
||||
pass = false;
|
||||
} else if (circleMode) {
|
||||
} else if (circleMode && this.freehand_) {
|
||||
this.finishCoordinate_ = null;
|
||||
}
|
||||
return pass;
|
||||
|
||||
Reference in New Issue
Block a user