Updated for Sidebar 3.0 + Fixed Image Radius + Fixed Header Clipping

This commit is contained in:
2025-12-30 13:10:18 +11:00
parent 047d4de2f4
commit 4ca99ebd72
6 changed files with 70 additions and 277 deletions
+4 -3
View File
@@ -33,6 +33,9 @@ if (settings.lyricsGlowEnabled) {
lyricsGlowStyleTag.css = lyricsGlow;
}
// Apply base styles always (contains global fixes and conditional UI hiding styles)
baseStyleTag.css = baseStyles;
// Update CSS variables for lyrics text glow based on settings
const updateRadiantLyricsTextGlow = function (): void {
const root = document.documentElement;
@@ -43,8 +46,7 @@ const updateRadiantLyricsTextGlow = function (): void {
// Function to update styles when settings change
const updateRadiantLyricsStyles = function (): void {
if (isHidden) {
// Apply only base styles (button hiding) and optional player bar hiding
baseStyleTag.css = baseStyles;
// Apply optional player bar hiding
if (!settings.playerBarVisible) {
playerBarStyleTag.css = playerBarHidden;
} else {
@@ -195,7 +197,6 @@ const toggleRadiantLyrics = function (): void {
setTimeout(() => {
if (!isHidden) {
lyricsStyleTag.remove();
baseStyleTag.remove();
playerBarStyleTag.remove();
}
}, 500);