github github/hotkey v1.4.4

latest releases: v3.1.0, v3.0.1, v3.0.0...
3 years ago

This fixes a regression in the eventToHotkeyString function in 1.4.3 which was caused by trying to normalise the event.key toUpperCase. The regression was because on macos the "Meta+Shift" plane is always lowercase, which is contrary to other operating systems. This is a regression because that was expected behavior as part of this package, and the fix in 1.4.3 broke this expectation while trying to fix another bug.

This change respects the event.key spacing, and elides the shift key only when the event.key matches case, returning Meta+Shift+p as a viable shortcut.

Don't miss a new hotkey release

NewReleases is sending notifications on new releases.