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: fix WindowEvent::Resized not using rAF #3790

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

daxpedda
Copy link
Member

This caused two issues:

  • WindowEvent::RedrawRequested send after an WindowEvent::Resized would not be throttled.
  • Using Window::request_redraw() after an WindowEvent::Resized will cause two WindowEvent::RedrawRequested events. The first one not throttled and the second one throttled by rAF.

Probably a leftover from #2896.

@daxpedda daxpedda added this to the Version 0.30.4 milestone Jul 16, 2024
@daxpedda daxpedda merged commit 8e23d16 into rust-windowing:master Jul 16, 2024
53 checks passed
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.

2 participants