Merge pull request #6488 from tchandelle/circle-pan
Do not draw circle when pointer not moved and freehand is on
This commit is contained in:
@@ -374,8 +374,9 @@ ol.interaction.Draw.handleUpEvent_ = function(event) {
|
||||
this.addToDrawing_(event);
|
||||
}
|
||||
pass = false;
|
||||
} else if (circleMode) {
|
||||
} else if (circleMode && this.freehand_) {
|
||||
this.finishCoordinate_ = null;
|
||||
this.abortDrawing_();
|
||||
}
|
||||
return pass;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user