fix(chat): suppress hotkeys while UI captures keyboard

This commit is contained in:
Kelsi 2026-03-14 04:36:25 -07:00
parent 94e5855d53
commit 5be80a9cc6
2 changed files with 4 additions and 2 deletions

View file

@ -2288,7 +2288,7 @@ void GameScreen::processTargetInput(game::GameHandler& gameHandler) {
refocusChatInput = true;
}
const bool textFocus = chatInputActive || refocusChatInput || io.WantTextInput;
const bool textFocus = chatInputActive || refocusChatInput || io.WantTextInput || io.WantCaptureKeyboard;
// Tab targeting (when keyboard not captured by UI)
if (!io.WantCaptureKeyboard) {