Added wanted change for issue #5145

This commit is contained in:
Mattias Josefsson
2016-04-26 10:34:55 +02:00
parent e85d8fa749
commit 8f96251618

View File

@@ -547,7 +547,7 @@ ol.interaction.Modify.compareIndexes_ = function(a, b) {
*/
ol.interaction.Modify.handleDownEvent_ = function(evt) {
this.handlePointerAtPixel_(evt.pixel, evt.map);
this.dragSegments_ = [];
this.dragSegments_.length = 0;
this.modified_ = false;
var vertexFeature = this.vertexFeature_;
if (vertexFeature) {