Skip to content

Commit

Permalink
Reset dragSegments after vertex deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
ahocevar committed Mar 20, 2017
1 parent 576b646 commit 35ef65e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ol/interaction/modify.js
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 35ef65e

Please sign in to comment.