Commit 1552f875 authored by Leopoldthecoder's avatar Leopoldthecoder Committed by 杨奕

Slider: fix button jumping to previous value when clicked

parent af030b62
...@@ -133,6 +133,7 @@ ...@@ -133,6 +133,7 @@
this.startX = event.clientX; this.startX = event.clientX;
} }
this.startPosition = parseFloat(this.currentPosition); this.startPosition = parseFloat(this.currentPosition);
this.newPosition = this.startPosition;
}, },
onDragging(event) { onDragging(event) {
......
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