chem
chem copied to clipboard
capture button up events even if they go outside canvas
- focus canvas
- press Ctrl+tab to go to a new tab
- click back on the game tab
- chem thinks ctrl is still held down but it's not
not going to be solvable by putting a handler on window. I think the best that we can do is on mousemove check for event.ctrlKey etc and fire the up events if necessary.