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

Function onPointerUp

theme.js:6331–6350  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

6329 removeOverCanvas();
6330 return;
6331 }
6332 applyOverCanvas();
6333 return;
6334 }
6335 if (!getShowAlways() && !isNpvVisible()) {
6336 removeAll();
6337 return;
6338 }
6339 removeOverCanvas();
6340 if (mode === "trackInfo") {
6341 removeOutsideCover();
6342 applyTrackInfo();
6343 } else if (mode === "outsideTrackInfo") {
6344 removeTrackInfoCover();
6345 applyOutsideCover();
6346 }
6347 }
6348 (async () => {
6349 while (!Spicetify?.Player?.addEventListener) await sleep(300);
6350 Spicetify.Player.addEventListener("songchange", () => {
6351 setTimeout(apply, 400);
6352 setTimeout(apply, 1e3);
6353 });

Callers

nothing calls this directly

Calls 2

setCompleteFunction · 0.85
laterFunction · 0.85

Tested by

no test coverage detected