Commit bb5c70df by Valera Rozuvan

CSS width, and left properties can be decimal numbers.

parent 2d9ef610
......@@ -123,8 +123,8 @@ function () {
end = this.config.end;
}
left = parseInt(100 * (start / params.duration), 10);
width = parseInt(100 * ((end - start) / params.duration), 10);
left = (100 * (start / params.duration)).toFixed(1);
width = (100 * ((end - start) / params.duration)).toFixed(1);
if (!this.videoProgressSlider.sliderRange) {
this.videoProgressSlider.sliderRange = $('<div />')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment