You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KeystateTracker.correctModifierKeys helps correct the state of KeyStateTracker when modifier keys are released/pressed without the browser receiving an event. It currently fires for keyboard events but should also fire for mouse events that support shiftKey, altKey, ctrlKey and metaKey properties. Otherwise mouse + keyboard interaction could be buggy if the browser window loses focus while modifier keys are down.
The text was updated successfully, but these errors were encountered:
A new function that corrects modifier keys needs to be very fast because it will run every mouse event. Refactor as much as possible, probably creating a new function just for mouse events.
KeystateTracker.correctModifierKeys
helps correct the state of KeyStateTracker when modifier keys are released/pressed without the browser receiving an event. It currently fires for keyboard events but should also fire for mouse events that supportshiftKey
,altKey
,ctrlKey
andmetaKey
properties. Otherwise mouse + keyboard interaction could be buggy if the browser window loses focus while modifier keys are down.The text was updated successfully, but these errors were encountered: