This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 971
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Menu on Windows now properly responds to ALT.
Menu is now toggled only under these conditions: - the left ALT key is pressed (ignore AltGr) - last key pressed was ALT (typing ALT codes should not toggle menu) - no other key is being pushed simultaneously - since initial keydown, ALT has been the only key pressed NOTE: key state is reset when window blurs (in case you used a shortcut that opened a new window, which prevents the keyup handler from firing on release) Auditors: @jonathansampson, @bbondy Fixes #5775
- Loading branch information
Showing
1 changed file
with
36 additions
and
16 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