macOS: Fix alt and win keycodes (#552)

* macOS: Generate LAlt/RAlt VirtualKeyCode

* macOS: Correct RWin/LWin
This commit is contained in:
Francesca Frangipane 2018-06-06 11:30:26 -04:00 committed by GitHub
parent 19dd961752
commit 79aebf06dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View file

@ -7,6 +7,8 @@
- On X11, the environment variable `WINIT_HIDPI_FACTOR` has been added for overriding DPI factor.
- On X11, enabling transparency no longer causes the window contents to flicker when resizing.
- On X11, `with_override_redirect` now actually enables override redirect.
- macOS now generates `VirtualKeyCode::LAlt` and `VirtualKeyCode::RAlt` instead of `None` for both.
- On macOS, `VirtualKeyCode::RWin` and `VirtualKeyCode::LWin` are no longer switched.
# Version 0.15.0 (2018-05-22)