mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-27 06:46:13 +00:00
7032a3c12a
This is necessary following2d53308e1b, which now handles key-up in input to prevent hotkeys from firing then. Hotkeys are a global system, which means opening e.g. the chat window or the summary does't reset things. If you press "S" to scroll the in-game camera down, then press 'return' to open the chat, the camera keeps scrolling down. Following2d53308e1b, it never released since it never got the keyup. To handle this nicely, we need to explicitly clear hotkeys when input boxes get focus (respectively the console). Differential Revision: https://code.wildfiregames.com/D3797 This was SVN commit r25186.