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
When a key is held and the game loses focus (IsActive becomes false), it's possible for the player to let go of that key. When that happens the Released() condition doesn't fire. It might be useful to consider the focus loss to be the same as letting go of the key.
The text was updated successfully, but these errors were encountered:
There's another case to consider. When clicking away from the window, that click will trigger Held(). The fix should be the same as what's done in Pressed() with IsMouseValid.
When a key is held and the game loses focus (IsActive becomes false), it's possible for the player to let go of that key. When that happens the
Released()
condition doesn't fire. It might be useful to consider the focus loss to be the same as letting go of the key.The text was updated successfully, but these errors were encountered: