Slider: fix button jumping to previous value when clicked

This commit is contained in:
Leopoldthecoder
2017-09-24 18:45:19 +08:00
committed by 杨奕
parent af030b62b0
commit 1552f87592

View File

@@ -133,6 +133,7 @@
this.startX = event.clientX;
}
this.startPosition = parseFloat(this.currentPosition);
this.newPosition = this.startPosition;
},
onDragging(event) {