jsakamoto / Toolbelt.Blazor.HotKeys2

This is a class library that provides configuration-centric keyboard shortcuts for your Blazor apps.
https://jsakamoto.github.io/Toolbelt.Blazor.HotKeys2/
Mozilla Public License 2.0
87 stars 6 forks source link

It strongly depends on the order of typing keys for hotkeys with only modification keys #5

Open jsakamoto opened 1 year ago

jsakamoto commented 1 year ago

For example, if a developer implements a hotkey like this:

.Add(ModKeys.Ctrl, KeyAlt, OnHotKey)

The OnHotKey method will be invoked when a user types Ctrl > Alt. But, if a user types Alt > Ctrl, then the OnHotKey method will not be invoked.