1
0
Fork 0

libslider: move stopEventPropagation on top

master
thyttan 2023-08-15 23:07:55 +02:00
parent 2ce848b1aa
commit 3b174337f3
1 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,8 @@ let exFirst;
let dragSlider = e=>{
"ram";
E.stopEventPropagation&&E.stopEventPropagation();
if (timeout) {clearTimeout(timeout); timeout = setTimeout(remove, 1000*TIMEOUT);}
let input = Math.min(e.y,170);
input = Math.round(input/STEP_SIZE);
@ -56,7 +58,6 @@ let dragSlider = e=>{
}
}
ebLast = e.b;
E.stopEventPropagation&&E.stopEventPropagation();
};
let ovr = Graphics.createArrayBuffer(WIDTH+9,HEIGHT+5,1,{msb:true});