possible fix for laptops with touch screens and mouse input

This commit is contained in:
Stewart Allen 2022-10-25 17:06:18 -04:00
commit 99f7d1811b

View file

@ -485,6 +485,11 @@ CAM.init = function(kiri, api) {
}
};
el.ontouchmove = onDown;
el.onmouseenter = (ev) => {
el.onmousedown = onDown;
el.onmouseleave = onLeave;
onEnter(ev);
};
} else {
el.onmousedown = onDown;
el.onmouseenter = onEnter;