parent
6242a5f865
commit
4dfdb2b1e9
@ -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…
Reference in new issue