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

Function onPanelTransitionEnd

theme.js:6845–6847  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

6843 function setPlayingState(icon, playing) {
6844 const el = icon;
6845 const pressedAt = Number(el.dataset.glowifyPressed || 0);
6846 if (pressedAt) {
6847 if (icon.classList.contains(PLAYING) !== playing && performance.now() - pressedAt < PRESS_GRACE_MS) {
6848 return;
6849 }
6850 delete el.dataset.glowifyPressed;

Callers

nothing calls this directly

Calls 1

showControlsAfterIntroFunction · 0.85

Tested by

no test coverage detected