Fix WindowEvent::Moved ignoring DPI on macOS

This commit is contained in:
Wang Kai 2020-09-23 18:54:53 +08:00 committed by GitHub
parent c9558c5f0e
commit 3cd6a18048
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -43,6 +43,7 @@
- **Breaking:** On Web, the canvas element associated to a `Window` is no longer removed from the DOM when the `Window` is dropped.
- On Web, `WindowEvent::Resized` is now emitted when `Window::set_inner_size` is called.
- **Breaking:** `Fullscreen` enum now uses `Borderless(Option<MonitorHandle>)` instead of `Borderless(MonitorHandle)` to allow picking the current monitor.
- On MacOS, fix `WindowEvent::Moved` ignoring the scale factor.
# 0.22.2 (2020-05-16)