remove unneded method

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

@ -94,8 +94,8 @@ StepManager.prototype.startSlider = function () {
})
this.slider = new Slider()
this.slider.event.register('sliderMoved', this, function (step) {
self.sliderMoved(step)
this.slider.event.register('sliderMoved', (step) => {
self.updateStep(step)
})
this.parent.callTree.event.register('callTreeReady', () => {
@ -181,11 +181,6 @@ StepManager.prototype.init = function () {
this.changeState(0)
}
StepManager.prototype.sliderMoved = function (step) {
if (!this.traceManager.inRange(step)) return
this.changeState(step)
}
StepManager.prototype.updateStep = function (step) {
this.slider.setValue(step)
this.changeState(step)

Loading…
Cancel
Save