by andy_ppp · 2y ago · 0 comments
Then we wouldn't need the isInvokedByMouse and isInvokedByKeyboard functions.
Is there a better way? Relying on screen coordinates for this is highly dubious and I would argue a hack.
1: https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/det...