Skip to content

Use Keybind.matches so hotkey 'Not set' disables the hotkey. - #93

Open
pensive-owl wants to merge 1 commit into
deathbeam:fixed-mode-hide-chatfrom
pensive-owl:fix/not-set-hotkey
Open

pensive-owl wants to merge 1 commit into
deathbeam:fixed-mode-hide-chatfrom
pensive-owl:fix/not-set-hotkey

Conversation

@pensive-owl

@pensive-owl pensive-owl commented Jul 15, 2026

Copy link
Copy Markdown

Fixes #87.
The hotkey check compared keycodes manually. Keybind Not set is keycode 0, and keyTyped events always report keycode 0, so with the hotkey Not set any typed key matched and hid the chat. Switched to matches(), which returns false for Not set and handles modifier combos. No behavior change otherwise.

@pensive-owl

Copy link
Copy Markdown
Author

@riktenx Any issues with this?

@riktenx

riktenx commented Jul 25, 2026

Copy link
Copy Markdown
Collaborator

i can release this later but i dont have capacity to test it at all, so hopefully you have done so, if a bunch of people come into the discord and complain i will just revert it

@pensive-owl

Copy link
Copy Markdown
Author

i can release this later but i dont have capacity to test it at all, so hopefully you have done so, if a bunch of people come into the discord and complain i will just revert it

I have tested it

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.

2 participants