Slider: fix slider positioning

This commit is contained in:
Gabriel Oliveira 2017-03-21 14:50:57 -03:00 committed by 杨奕
parent 91613ba59d
commit adaec8199f

View File

@ -110,7 +110,7 @@
onDragStart(event) {
this.dragging = true;
this.startX = event.clientX;
this.startPosition = parseInt(this.currentPosition, 10);
this.startPosition = parseFloat(this.currentPosition);
},
onDragging(event) {