Skip to content

Commit

Permalink
Merge pull request openlayers#6606 from ahocevar/delete-segmentdata
Browse files Browse the repository at this point in the history
Reset dragSegments after vertex deletion
  • Loading branch information
ahocevar committed Mar 20, 2017
2 parents d931a92 + 35ef65e commit f5c1908
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ol/interaction/modify.js
Original file line number Diff line number Diff line change
Expand Up @@ -1088,6 +1088,7 @@ ol.interaction.Modify.prototype.removeVertex_ = function() {
this.overlay_.getSource().removeFeature(this.vertexFeature_);
this.vertexFeature_ = null;
}
dragSegments.length = 0;
}

}
Expand Down

0 comments on commit f5c1908

Please sign in to comment.