forked from FOSS/BangleApps
libslider: move stopEventPropagation on top
parent
2ce848b1aa
commit
3b174337f3
|
@ -25,6 +25,8 @@ let exFirst;
|
||||||
|
|
||||||
let dragSlider = e=>{
|
let dragSlider = e=>{
|
||||||
"ram";
|
"ram";
|
||||||
|
E.stopEventPropagation&&E.stopEventPropagation();
|
||||||
|
|
||||||
if (timeout) {clearTimeout(timeout); timeout = setTimeout(remove, 1000*TIMEOUT);}
|
if (timeout) {clearTimeout(timeout); timeout = setTimeout(remove, 1000*TIMEOUT);}
|
||||||
let input = Math.min(e.y,170);
|
let input = Math.min(e.y,170);
|
||||||
input = Math.round(input/STEP_SIZE);
|
input = Math.round(input/STEP_SIZE);
|
||||||
|
@ -56,7 +58,6 @@ let dragSlider = e=>{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ebLast = e.b;
|
ebLast = e.b;
|
||||||
E.stopEventPropagation&&E.stopEventPropagation();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
let ovr = Graphics.createArrayBuffer(WIDTH+9,HEIGHT+5,1,{msb:true});
|
let ovr = Graphics.createArrayBuffer(WIDTH+9,HEIGHT+5,1,{msb:true});
|
||||||
|
|
Loading…
Reference in New Issue