Slider returns wrong value. Works fine in Ext 4!

http://ift.tt/1kElOwm



Code:



Ext.application({
name : 'Fiddle',

launch : function() {
var sli = new Ext.slider.SingleSlider({
id : 'rowHeightSlider',
width : 200,
value : 40,
increment : 5,
minValue : 3,
maxValue : 100
})
console.log(sli.getValue()) // 38, expect 40. In Ext 4 it's 40
}
});