chem icon indicating copy to clipboard operation
chem copied to clipboard

capture button up events even if they go outside canvas

Open andrewrk opened this issue 12 years ago • 1 comments

  1. focus canvas
  2. press Ctrl+tab to go to a new tab
  3. click back on the game tab
  4. chem thinks ctrl is still held down but it's not

andrewrk avatar Aug 06 '13 19:08 andrewrk

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.

andrewrk avatar Aug 09 '13 14:08 andrewrk