forked from OpenNeo/impress
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. |
||
---|---|---|
.. | ||
getVisibleLayers.js | ||
HangerSpinner.js | ||
HTML5Badge.js | ||
ItemCard.js | ||
OutfitMovieLayer.js | ||
OutfitPreview.js | ||
OutfitThumbnail.js | ||
PaginationToolbar.js | ||
SpeciesColorPicker.js | ||
SquareItemCard.js | ||
useCurrentUser.js | ||
useOutfitAppearance.js | ||
usePreferArchive.js |