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

Function applyPlayerWidthMode

theme.js:7112–7116  ·  view source on GitHub ↗
(mode)

Source from the content-addressed store, hash-verified

7110 var FLOATING_PLAYER_KEY = "glowify-floating-player";
7111 function updateFloatingPlayerCss(on) {
7112 const css = on ? [
7113 // z-index: out of grid flow the bar's paint order would otherwise rest on
7114 // DOM order alone, leaving it at the mercy of whatever main-view stacks
7115 // over its strip. Pin it above the content it now floats on top of.
7116 //
7117 // Spotify's own token, not a number: its scale puts the cinema view at 5
7118 // while its controls are showing (the variable is literally named
7119 // "above everything except now playing bar"), the bar at 6, and the

Callers

nothing calls this directly

Calls 1

applyPlayerWidthFunction · 0.85

Tested by

no test coverage detected