Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat Deselection Workflow #2182

Merged
merged 4 commits into from
Nov 12, 2024

Conversation

MistaOmega
Copy link
Contributor

@MistaOmega MistaOmega commented Sep 25, 2024

Partial Closes #2159

Copy link
Collaborator

@Measurity Measurity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Works well on my end.

in scenarios such as:
 - an actual message was sent
 - no message was sent (null or empty)
 - message contains only whitespaces

With these changes, the hardcoded "Y" key bind is also no longer needed.
@Risusama
Copy link
Contributor

Risusama commented Nov 11, 2024

I tinkered with this a bit and made a PR at MistaOmega#1 for some modifications, which I believe achieve the desired functionality, based on the description provided in the issue.

I hope this is the correct way to PR these changes? I was a little baffled on how I should deliver them, but ultimately decided to make the PR to the fork of the original author in the hopes that I won't totally overstep the line, hehe ^^'.

Make chat defocus and hiding better
@MistaOmega
Copy link
Contributor Author

This should now have @Risusama's changes in here too (ty for that :) )

@dartasen
Copy link
Member

Works well IG, nice addition

Copy link
Member

@Jannify Jannify left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM CW

@dartasen dartasen merged commit 9ce4285 into SubnauticaNitrox:master Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Defocus chat input field on enter and refocus on 'Y' press
5 participants