remove init method, changeStep 0 can be used instead

pull/3094/head
Iuri Matias 6 years ago committed by yann300
parent 417c289e7f
commit b633afc75e
  1. 7
      src/app/debugger/debuggerUI/StepManager.js

@ -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)

Loading…
Cancel
Save