remove unneded method

pull/1/head
Iuri Matias 6 years ago committed by yann300
parent 951b165eb8
commit 2a93d8081e
  1. 9
      src/app/debugger/debuggerUI/StepManager.js

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

Loading…
Cancel
Save