1
0
Fork 0
forked from OpenNeo/impress
impress/app/javascript/wardrobe-2020
Emi Matchu 60e9130891 Fix bug where changing tabs would *always* pause the outfit animations
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.
2024-06-12 17:05:53 -07:00
..
components Fix bug where changing tabs would *always* pause the outfit animations 2024-06-12 17:05:53 -07:00
images Use hourglass icon for Retired UCs 2024-02-01 06:48:40 -08:00
ItemPage Don't use the pets.neopets.com asset proxy anymore 2024-04-06 03:25:06 -07:00
loaders Remove our testing-escape-hatch for item search from the console 2024-02-27 16:25:17 -08:00
WardrobePage Redesign "Get these items!" button to use a cart icon instead 2024-05-31 17:38:25 -07:00
apolloClient.js Filter by Alt Style in item search and item appearance API calls 2024-02-01 04:58:30 -08:00
AppProvider.js Fix some eslint errors 2024-05-02 12:18:51 -07:00
impress-2020-config.js Add support_staff flag to user record; they can use Support tools 2024-01-29 04:21:19 -08:00
index.js Remove the item page drawer, just link to the item page instead 2023-11-03 16:56:51 -07:00
ItemPageOutfitPreview.js Oops, fix species name in zones tooltip 2023-11-11 11:57:43 -08:00
util.js Oh wow, don't use the images.neopets.com asset proxy anymore either! 2024-04-06 03:38:23 -07:00