3 ms·
Especially if a button isn't pressed. Allow mousemove between mousedown and mouseup.
by LukeShu 9y ago
Especially if a button isn't pressed. Allow mousemove between mousedown and mouseup.
- degenerate 9y agoI like this solution, smart.
- cpeterso 9y agoBut what about web games that want to track your mouse cursor? Maybe the browser could restrict mousemove events to handlers on page elements that the user has clicked on? But then web developers would probably add an event handler on the page itself and receive all mousemove events again.