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

Function setControlIcon

theme.js:4435–4443  ·  view source on GitHub ↗
(selector, iconUrl)

Source from the content-addressed store, hash-verified

4433 marginLeft: 0
4434 };
4435 function applyComfyCoverArt(setDefaultRadius = true) {
4436 const enabled = readLS(CCA_ENABLED_KEY, CCA_DEFAULTS.enabled);
4437 if (enabled === "hide") {
4438 updateStyle("glowify-comfy-cover-art", "");
4439 if (setDefaultRadius) {
4440 localStorage.setItem(PLAYBAR_COVER_BORDER_RADIUS_KEY, "12");
4441 applyPlaybarCoverBorderRadius(12);
4442 window.dispatchEvent(new Event("glowifyPlaybarCoverRadiusChange"));
4443 }
4444 return;
4445 }
4446 if (setDefaultRadius) {

Callers 1

applyPlayerControlIconsFunction · 0.85

Calls 2

getControlWrapperFunction · 0.85
ensureIconElementFunction · 0.85

Tested by

no test coverage detected