add soliditySlider

pull/7/head
yann300 8 years ago
parent 6242a5f865
commit 4dfdb2b1e9
  1. 15
      src/ui/SoliditySlider.js

@ -0,0 +1,15 @@
'use strict'
var Slider = require('./Slider')
var utils = require('../helpers/util.js')
class SoliditySlider extends Slider {
constructor (_traceManager, reducedTraceBySourceLocation) {
super(_traceManager)
this.reducedTraceBySourceLocation = reducedTraceBySourceLocation
}
setValue (value) {
super.setValue(utils.findLowerBoundValue(value, this.reducedTraceBySourceLocation))
}
}
module.exports = SoliditySlider
Loading…
Cancel
Save