(e)
| 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 | }); |
nothing calls this directly
no test coverage detected