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

Function applyPlayerControlIcons

theme.js:4444–4455  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4442 applyPlaybarCoverBorderRadius(12);
4443 window.dispatchEvent(new Event("glowifyPlaybarCoverRadiusChange"));
4444 }
4445 return;
4446 }
4447 if (setDefaultRadius) {
4448 localStorage.setItem(PLAYBAR_COVER_BORDER_RADIUS_KEY, "20");
4449 applyPlaybarCoverBorderRadius(20);
4450 window.dispatchEvent(new Event("glowifyPlaybarCoverRadiusChange"));
4451 }
4452 const w2 = readNum(CCA_WIDTH_KEY, CCA_DEFAULTS.width);
4453 const h2 = readNum(CCA_HEIGHT_KEY, CCA_DEFAULTS.height);
4454 const mb = readNum(CCA_MARGIN_BOTTOM_KEY, CCA_DEFAULTS.marginBottom);
4455 const ml = readNum(CCA_MARGIN_LEFT_KEY, CCA_DEFAULTS.marginLeft);
4456 const css = `
4457 :root .Root__top-container .main-nowPlayingWidget-nowPlaying .main-coverSlotCollapsed-container .cover-art,
4458 :root .Root__top-container .main-nowPlayingWidget-nowPlaying .main-coverSlotCollapsed-container .VideoPlayer__container video {

Callers 2

scheduleFunction · 0.85

Calls 4

setControlIconFunction · 0.85
getPlayPauseIconFunction · 0.85

Tested by

no test coverage detected