Skip to content

Commit

Permalink
Merge pull request Leaflet#557 from TigleyM/fix_OnZoomEnd
Browse files Browse the repository at this point in the history
Fix _onZoomEnd
  • Loading branch information
ddproxy authored Jul 6, 2016
2 parents 5f722d4 + ef1fb24 commit b6c03e2
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 b6c03e2

Please sign in to comment.