Remove skeleton.apng from rotation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ltadeu6 2026-06-07 09:57:26 -03:00
parent fa5c99c30d
commit 31dc0dae15
No known key found for this signature in database
GPG key ID: FB9FDAB6B6F3418D

View file

@ -1017,9 +1017,9 @@ setInterval(nextDanceStyle, 8000);
Add new files to SKELETONS to include them in the rotation. Add new files to SKELETONS to include them in the rotation.
Switches on music change and randomly every 16 beats (8s). Switches on music change and randomly every 16 beats (8s).
============================================================ */ ============================================================ */
const SKELETONS = ['skeleton.apng', 'skeleton2.apng', 'skeleton3.apng', 'skeleton4.apng', 'skeleton5.apng', 'skeleton6.apng']; const SKELETONS = ['skeleton2.apng', 'skeleton3.apng', 'skeleton4.apng', 'skeleton5.apng', 'skeleton6.apng'];
const skeletonImg = document.querySelector('.skeleton-gif'); const skeletonImg = document.querySelector('.skeleton-gif');
let currentSkel = 3; let currentSkel = 2;
// Preload all skeletons so switches are instant // Preload all skeletons so switches are instant
const _preloaded = SKELETONS.map(src => { const i = new Image(); i.src = src; return i; }); const _preloaded = SKELETONS.map(src => { const i = new Image(); i.src = src; return i; });