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

Resize seems not working #39

Open
caxieyou opened this issue Apr 23, 2022 · 1 comment
Open

Resize seems not working #39

caxieyou opened this issue Apr 23, 2022 · 1 comment

Comments

@caxieyou
Copy link

the resize window size is const in Rust, so i suppose it's not changed according to the new size
also the callback function about if the window size is changed never actually works
which means the is_framebuffer_resized flag is always false

@DotrixXP
Copy link

You can explicitly set is_framebuffer_resized when is windows resized.
WindowEvent::Resized(new_size) => { self.is_framebuffer_resized = true; }

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

No branches or pull requests

2 participants