Emi Matchu
60e9130891
We have a feature to check the movie's FPS, and pause it if it gets too low, as a guard against especially low-performance movies. But this was triggering in an *expected* case, where browsers intentionally throttle interval events when a page is in the background (e.g. you switch to another tab). Now, our rendering is aware of page visibility: when the page is hidden, don't bother rendering, and keep resetting the FPS counter state, so that we can pick up with a fresh FPS counter when the page comes back. |
||
---|---|---|
.. | ||
wardrobe-2020 | ||
application.js | ||
item-page.js | ||
wardrobe-2020-page.js |