-
Notifications
You must be signed in to change notification settings - Fork 15.7k
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
docs: note accelerator case insensitivity #40783
Conversation
As requested in PR#38673 , a line has been added that explicitly states that accelerators are case sensitive
💖 Thanks for opening this pull request! 💖 We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix. Examples of commit messages with semantic prefixes:
Things that will help get your PR across the finish line:
We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Accelerators are case insensitive.
When looking up the values we convert the passed in values to lowercase to perform case insensitive lookups: eg https://github.com/electron/electron/blob/main/shell/common/keyboard_util.cc#L279
Co-authored-by: Erick Zhao <erick@hotmail.ca>
Congrats on merging your first pull request! 🎉🎉🎉 |
No Release Notes |
Description of Change
Closes #38673.
Explicitly state that accelerators are case insensitive
Checklist
npm test
passesRelease Notes
Notes: none