4 ms·
I think you have to use pointer events to detect the eraser -- e.button should be 5 for pointerdown events. I'm not sure how hard it is to use pointer events wh
by jstarks 11y ago
I think you have to use pointer events to detect the eraser -- e.button should be 5 for pointerdown events. I'm not sure how hard it is to use pointer events when available (currently only on IE/Edge, it looks like).