Remove skeleton.apng from rotation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fa5c99c30d
commit
31dc0dae15
1 changed files with 2 additions and 2 deletions
|
|
@ -1017,9 +1017,9 @@ setInterval(nextDanceStyle, 8000);
|
|||
Add new files to SKELETONS to include them in the rotation.
|
||||
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');
|
||||
let currentSkel = 3;
|
||||
let currentSkel = 2;
|
||||
|
||||
// Preload all skeletons so switches are instant
|
||||
const _preloaded = SKELETONS.map(src => { const i = new Image(); i.src = src; return i; });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue