redraws view on show if steps are one
This commit is contained in:
parent
cef13cbf37
commit
9ca31c2963
@ -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;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user