Slider: fix dy not initialized for increment mode

master
thyttan 2023-09-19 19:30:31 +02:00
parent ef650f5359
commit 14dd20791f
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ o.v.level = (o.c.currLevel||o.c.currLevel===0)?o.c.currLevel:o.c.steps/2;
o.v.firstRun = true; o.v.firstRun = true;
o.v.ebLast = 0; o.v.ebLast = 0;
o.v.dy = 0;
if (o.c.dragableSlider) { if (o.c.dragableSlider) {
o.f.wasOnIndicator = (exFirst)=>{ o.f.wasOnIndicator = (exFirst)=>{