MCPcopy Create free account
hub / github.com/NMWplays/Glowify / commit

Function commit

theme.js:6400–6407  ·  view source on GitHub ↗
(raw)

Source from the content-addressed store, hash-verified

6398 const win = window;
6399 if (win[PLAY_STATE_KEY]) return;
6400 win[PLAY_STATE_KEY] = true;
6401 const sync = () => {
6402 const playing = Boolean(win.Spicetify?.Player?.isPlaying?.());
6403 document.documentElement.classList.toggle(PLAYING_CLASS, playing);
6404 };
6405 sync();
6406 win.Spicetify?.Player?.addEventListener?.("onplaypause", sync);
6407 setInterval(sync, 1e3);
6408 }
6409 function applyCss3() {
6410 updateStyle(STYLE_ID5, buildCss());

Callers 1

StepperFunction · 0.85

Calls 1

clampFunction · 0.85

Tested by

no test coverage detected