bevy/crates/bevy_window/src
François Mockers 841df150cc
apply window scale to window size when creating it (#13967)
# Objective

- Fixes #13702
- When creating a new window, its scale was changed to match the one
returned by winit, but its size was not which resulted in an incorrect
size until the event with the correct size was received, at least 1
frame later

## Solution

- Apply the window scale to its size when creating it
2024-06-21 18:04:57 +00:00
..
cursor.rs Update cursor.rs (#11617) 2024-01-30 16:34:17 +00:00
event.rs fix: upgrade to winit v0.30 (#13366) 2024-06-03 13:06:48 +00:00
lib.rs fix: upgrade to winit v0.30 (#13366) 2024-06-03 13:06:48 +00:00
raw_handle.rs fix: upgrade to winit v0.30 (#13366) 2024-06-03 13:06:48 +00:00
system.rs Ensure clean exit (#13236) 2024-05-12 15:56:01 +00:00
window.rs apply window scale to window size when creating it (#13967) 2024-06-21 18:04:57 +00:00