-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(help/input_event_bindings): Simplify input event binding help di…
…splay Previously, optional modifiers in a binding like "alt?+control?+shift+keya" would result in 4 separate help entries for each of the 4 combinations. With this change, the optional modifiers are excluded altogether, as they already were from the binding tooltips, resulting in a single help entry for "shift+keya". Additionally, patterns like "shift+key[a-z]" -> "tool-[A-Z]" and "[1-9]" -> "toggle-layer-[1-9]" resulted in each binding being displayed separately. With this change, the pattern is recognized and displayed as a single entry. These changes together make the help display much, much more concise.
- Loading branch information
Showing
2 changed files
with
99 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters