fix stepoverback stepoverforward

pull/7/head
yann300 8 years ago
parent ad1749fb3c
commit 6f3dba44ed
  1. 4
      src/ui/StepManager.js

@ -153,7 +153,7 @@ StepManager.prototype.stepOverForward = function () {
}
var step = this.traceManager.findStepOverForward(this.currentStepIndex)
if (this.solidityMode) {
step = this.resolveToReducedTrace(step, 0)
step = this.resolveToReducedTrace(step, 1)
}
this.slider.setValue(step)
this.changeState(step)
@ -165,7 +165,7 @@ StepManager.prototype.stepOverBack = function () {
}
var step = this.traceManager.findStepOverBack(this.currentStepIndex)
if (this.solidityMode) {
step = this.resolveToReducedTrace(step, 0)
step = this.resolveToReducedTrace(step, -1)
}
this.slider.setValue(step)
this.changeState(step)

Loading…
Cancel
Save