mirror of https://github.com/espruino/BangleApps
ctrlpad: use E.stopEventPropagation
parent
71f8471eb0
commit
0887e59337
|
@ -218,6 +218,7 @@
|
|||
}
|
||||
ui.overlay.setBottom(e.y - dragOffset);
|
||||
}
|
||||
E.stopEventPropagation?.();
|
||||
break;
|
||||
|
||||
case State.Active:
|
||||
|
@ -269,6 +270,7 @@
|
|||
const ctrl = ui.ctrls.hitTest(xy.x - left, xy.y - top);
|
||||
if(ctrl){
|
||||
onCtrlTap(ctrl, ui);
|
||||
E.stopEventPropagation?.();
|
||||
}
|
||||
}) satisfies TouchCallback;
|
||||
|
||||
|
|
Loading…
Reference in New Issue