redraws view on show if steps are one

This commit is contained in:
Francisco Dans 2015-06-15 11:22:56 +02:00
parent cef13cbf37
commit 9ca31c2963

View File

@ -164,6 +164,7 @@ L.TorqueLayer = L.CanvasLayer.extend({
if(!this.hidden) return this;
this.hidden = false;
this.play();
this.options.steps === 1 && this.redraw();
return this;
},