|
|
|
@ -89,7 +89,7 @@ StepManager.prototype.startSlider = function () { |
|
|
|
|
return console.log(error) |
|
|
|
|
} |
|
|
|
|
self.slider.setSliderLength(length) |
|
|
|
|
self.init() |
|
|
|
|
self.updateStep(0) |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
@ -176,11 +176,6 @@ StepManager.prototype.startButtonNavigator = function () { |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
StepManager.prototype.init = function () { |
|
|
|
|
this.slider.setValue(0) |
|
|
|
|
this.changeState(0) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
StepManager.prototype.updateStep = function (step) { |
|
|
|
|
this.slider.setValue(step) |
|
|
|
|
this.changeState(step) |
|
|
|
|