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

!refactor(keybinds): support default key #127

Merged
merged 9 commits into from Oct 14, 2022
Merged

!refactor(keybinds): support default key #127

merged 9 commits into from Oct 14, 2022

Conversation

ghost
Copy link

@ghost ghost commented Oct 14, 2022

This PR changes the behavior of the keybind & defaultKey properties, changing formerly keybind to now be defaultKey and changing keybind to return the currently binded key for that command/bind. This also removes the get function in favor of a similar style to addCommand with the lib export being changed to addKeybind instead of the lib.keybinds table

It also has some small change to showTextUI just to make p2 options optional in the typings

Also updated my docs PR to address the changes as well as the suggested changes made by linden overextended/overextended.github.io#55

@thelindat thelindat merged commit 4f71595 into overextended:master Oct 14, 2022
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.

1 participant