Skip to content

Commit

Permalink
Fix _onZoomEnd
Browse files Browse the repository at this point in the history
  • Loading branch information
tigleym committed Jun 25, 2016
1 parent 5f722d4 commit ef1fb24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/draw/handler/Draw.Polyline.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ L.Draw.Polyline = L.Draw.Feature.extend({
},

_onZoomEnd: function () {
this._updateGuide();
if (this._markers != null) {
this._updateGuide();
}
},

_onMouseMove: function (e) {
Expand Down

0 comments on commit ef1fb24

Please sign in to comment.