On macOS, fix globe key triggering assertion

Sometimes FlagsChanged events don't carry any KeyCode information, thus
we can't create a synthetic presses events for them.

However in such cases, modifiers information is still accurate, thus
propagate it.

Fixes #2872.
This commit is contained in:
Kirill Chibisov 2023-10-17 05:59:48 +04:00 committed by GitHub
parent 801fddbfcf
commit c65e2247a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View file

@ -37,6 +37,7 @@ And please only add new entries to the top of this list, right below the `# Unre
- Implement `AsFd`/`AsRawFd` for `EventLoop<T>` on X11 and Wayland.
- **Breaking:** Bump `ndk` version to `0.8.0`, ndk-sys to `0.5.0`, `android-activity` to `0.5.0`.
- Make `WindowBuilder` `Send + Sync`.
- On macOS, fix assertion when pressing `Globe` key.
# 0.29.1-beta