Tangram-component icon indicating copy to clipboard operation
Tangram-component copied to clipboard

【ui.slider】baidu.ui.slider.Slider 设置max值较大,最后计算出的滑块位置和value值与实际值有出入

Open liujinlong opened this issue 14 years ago • 0 comments

比如设置min=0,max=300,slider元素宽度为200, 计算出的value=298.45360824742266,实际是300; 滑块位置(left) 为193,实际是194。

liujinlong avatar Jan 13 '11 05:01 liujinlong