Skip to content

Web: prevent crash when using InnerSizeWriter::request_inner_size()#3727

Merged
daxpedda merged 1 commit into
rust-windowing:masterfrom
daxpedda:web-inner-size-writer
Jun 11, 2024
Merged

Web: prevent crash when using InnerSizeWriter::request_inner_size()#3727
daxpedda merged 1 commit into
rust-windowing:masterfrom
daxpedda:web-inner-size-writer

Conversation

@daxpedda
Copy link
Copy Markdown
Member

Fixes #3704.

@daxpedda daxpedda added the DS - web Affects the Web backend (WebAssembly/WASM) label Jun 11, 2024
@daxpedda daxpedda added this to the Version 0.30.2 milestone Jun 11, 2024
Copy link
Copy Markdown
Member

@madsmtm madsmtm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving an outer RefCell further in is a big 👍 from me

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

Labels

DS - web Affects the Web backend (WebAssembly/WASM)

Development

Successfully merging this pull request may close these issues.

Panics if requesting a new size from the inner_size_writer inside the WindowEvent::ScaleFactorChanged

2 participants