mirror of
https://github.com/screentinker/screentinker.git
synced 2026-06-15 10:43:36 -06:00
Follow-up to the layout cache. On a cold start with a cached playlist but no cached layout yet (first run after shipping, or cleared cache), the player still rendered fullscreen and flashed before the payload arrived. Now gate the optimistic cached render on the layout being KNOWN (cache key present — null=fullscreen vs object= zoned, both fine); if unknown, wait ~1s for the payload to drive the first render. Eliminates the fullscreen flash on the very first pass too. |
||
|---|---|---|
| .. | ||
| debug-overlay.js | ||
| index.html | ||
| sw.js | ||