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

Web client is unable to detect screen resizing #379

Closed
matkoniecz opened this issue Nov 4, 2020 · 2 comments
Closed

Web client is unable to detect screen resizing #379

matkoniecz opened this issue Nov 4, 2020 · 2 comments

Comments

@matkoniecz
Copy link
Contributor

I enabled browser console during loading, after disabling it I have permament reduction of screen space used by web version of AB.

Not sure is it fixable from within AB or it it an upstream limitation.

@dabreegster
Copy link
Collaborator

I set dump_raw_events = true in widgetry/src/runner.rs and manually fiddled with window size. winit doesn't fire any events at all for resizing, opening/closing the developer console, etc. There may be a way to check for screen size changes manually -- rust-windowing/winit#1491. I'll experiment with this later.

@michaelkirk
Copy link
Collaborator

I can take a look at this!

michaelkirk added a commit to michaelkirk/abstreet that referenced this issue Nov 13, 2020
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

3 participants