Defocus chat input field on enter and refocus on 'Y' press #2159
Labels
Area: user interface (game)
Related to UI/UX in the game
Complexity: easy
Suitable for contributors new to Nitrox
Milestone
Describe the issue
Chat doesn't defocus when you press enter (if you hold enter and type you'll immediately submit the letter).
Make it so that:
Enter
defocuses the inputY
(default chat key) refocuses the input, always (even when in-game cursor is active).This makes it more inline with other games like Counter Strike 2 or Deep Rock Galactic.
Related code
Nitrox/NitroxClient/MonoBehaviours/Gui/Chat/PlayerChatInputField.cs
Lines 101 to 115 in cfc08f3
The text was updated successfully, but these errors were encountered: