update step in step manager instead of relying on UI

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

@ -89,13 +89,13 @@ StepManager.prototype.startSlider = function () {
return console.log(error) return console.log(error)
} }
self.slider.setSliderLength(length) self.slider.setSliderLength(length)
self.updateStep(0) self.step_manager.jumpTo(0)
}) })
}) })
this.slider = new Slider() this.slider = new Slider()
this.slider.event.register('sliderMoved', (step) => { this.slider.event.register('sliderMoved', (step) => {
self.updateStep(step) self.step_manager.jumpTo(step)
}) })
this.parent.callTree.event.register('callTreeReady', () => { this.parent.callTree.event.register('callTreeReady', () => {

Loading…
Cancel
Save