Use setTimeout() trick instead of Window.requestIdleCallback() (#3044)

This commit is contained in:
daxpedda
2023-08-25 21:40:21 +02:00
committed by GitHub
parent 68ef9f707e
commit 48abf52aac
7 changed files with 198 additions and 133 deletions

View File

@@ -9,6 +9,7 @@ And please only add new entries to the top of this list, right below the `# Unre
# Unreleased
- Fix window size sometimes being invalid when resizing on macOS.
- On Web, `ControlFlow::Poll` and `ControlFlow::WaitUntil` are now using the Prioritized Task Scheduling API. `setTimeout()` with a trick to circumvent throttling to 4ms is used as a fallback.
# 0.29.1-beta