Skip to content

with_inner_size does not set a PhysicalSize for the window #3262

Answered by daxpedda
devrangel asked this question in Q&A
Discussion options

You must be logged in to vote

See #2863.

Unfortunately this is not possible, as we use ResizeObserver to figure out the size of the canvas, which is async by nature. This is unfortunately a limitation by the Web API.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@devrangel
Comment options

@daxpedda
Comment options

Answer selected by devrangel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants