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

Function applyPlayerCustom

theme.js:7117–7121  ·  view source on GitHub ↗
(nextW, nextH)

Source from the content-addressed store, hash-verified

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
7120 // cinema view at 7 once the controls are hidden. A hard-coded 5 here tied
7121 // with the first of those and lost the tie, which is why the floating bar
7122 // vanished behind cinema and fullscreen. At 6 it sits above cinema with
7123 // the controls up, and still lets cinema cover it once they are hidden —
7124 // which is the point of that mode.

Callers 1

SettingsContentFunction · 0.85

Calls 1

applyPlayerWidthFunction · 0.85

Tested by

no test coverage detected