Skip to content
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

On Web, fix scale factor resize suggestion always overwriting the canvas size #2860

Merged
merged 1 commit into from
Jun 7, 2023

Conversation

daxpedda
Copy link
Member

@daxpedda daxpedda commented Jun 7, 2023

This makes it so users can ignore the resize suggestion provided by ScaleFactorChanged by setting it to the old value. Which is important when using CSS to set a specific size, like width: 100%, height: 100% on the canvas, which would be overwritten by Winit.

Related #1491.
Related #1661.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant