-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
weird startup scaling issues on macOS after winit 0.30
#13702
Comments
It seems like the initial render is at |
No surprise, but bisected to #13366 |
Yeah, strongly suspect we're not setting the initial value correctly. If y'all can figure out a fix, ping me and I'll merge it for 0.14. |
I think that what is generally going on is:
I am not sure if this needs to be split off into a separate issue yet (will try to test on another platform), but I am also seeing Adding primary_window: Some(Window {
resolution:
bevy::window::WindowResolution::default().with_scale_factor_override(2.0), // something not-1.0
..default()
}), Results in fonts becoming larger, but the window stays the same size. (forever, it never gets resized) |
# 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
# 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
See video here:
window.mp4
This probably doesn't need to be blocking for
0.14
but feels pretty gross.The text was updated successfully, but these errors were encountered: