Forráskód Böngészése

Slider: fix button jumping to previous value when clicked

Leopoldthecoder 7 éve
szülő
commit
1552f87592
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      packages/slider/src/button.vue

+ 1 - 0
packages/slider/src/button.vue

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