fix formatting part 2

This commit is contained in:
windigerbus 2026-04-19 21:25:55 +02:00 committed by edideaur
parent 395c851bb6
commit ad1915e510
4 changed files with 12 additions and 12 deletions

View file

@ -272,12 +272,14 @@
<svg width="0" height="0"> <svg width="0" height="0">
<defs> <defs>
<clipPath id="cd-hole-clip" clipPathUnits="objectBoundingBox"> <clipPath id="cd-hole-clip" clipPathUnits="objectBoundingBox">
<path fill-rule="evenodd" <path
fill-rule="evenodd"
d="M0,0 H1 V1 H0 Z d="M0,0 H1 V1 H0 Z
M0.5,0.5 M0.5,0.5
m-0.069,0 m-0.069,0
a0.069,0.069 0 1,0 0.138,0 a0.069,0.069 0 1,0 0.138,0
a0.069,0.069 0 1,0 -0.138,0 Z"/> a0.069,0.069 0 1,0 -0.138,0 Z"
/>
</clipPath> </clipPath>
</defs> </defs>
</svg> </svg>
@ -3343,9 +3345,7 @@
<div class="setting-item" id="cd-album-cover-setting"> <div class="setting-item" id="cd-album-cover-setting">
<div class="info"> <div class="info">
<span class="label">CD Album Cover</span> <span class="label">CD Album Cover</span>
<span class="description" <span class="description">Spin album cover and add CD hole in fullscreen</span>
>Spin album cover and add CD hole in fullscreen</span
>
</div> </div>
<label class="toggle-switch"> <label class="toggle-switch">
<input type="checkbox" id="cd-album-cover-toggle" /> <input type="checkbox" id="cd-album-cover-toggle" />

View file

@ -6069,7 +6069,7 @@ export async function initializeSettings(scrobbler, player, api, ui) {
} }
// Spins album cover and adds hole in fullscreen // Spins album cover and adds hole in fullscreen
const cdAlbumCoverToggle = document.getElementById("cd-album-cover-toggle"); const cdAlbumCoverToggle = document.getElementById('cd-album-cover-toggle');
if (cdAlbumCoverToggle) { if (cdAlbumCoverToggle) {
cdAlbumCoverToggle.checked = visualizerSettings.isCdAlbumCoverEnabled(); cdAlbumCoverToggle.checked = visualizerSettings.isCdAlbumCoverEnabled();

View file

@ -1360,9 +1360,9 @@ export class UIRenderer {
const cdRing = document.getElementById('cd-ring'); const cdRing = document.getElementById('cd-ring');
const isCdMode = visualizerSettings.isCdAlbumCoverEnabled(); const isCdMode = visualizerSettings.isCdAlbumCoverEnabled();
coverImage.classList.toggle("cd", isCdMode); coverImage.classList.toggle('cd', isCdMode);
coverCard.classList.toggle("cd", isCdMode); coverCard.classList.toggle('cd', isCdMode);
cdRing.classList.toggle("cd", isCdMode); cdRing.classList.toggle('cd', isCdMode);
await this.updateFullscreenMetadata(track, nextTrack); await this.updateFullscreenMetadata(track, nextTrack);

View file

@ -11501,7 +11501,7 @@ img.cd {
.fullscreen-artwork-card.cd { .fullscreen-artwork-card.cd {
position: relative; position: relative;
border-radius: 50% !important; border-radius: 50% !important;
border: .125vw solid #ccc; border: 0.125vw solid #ccc;
animation: spin 200s linear infinite; animation: spin 200s linear infinite;
} }
@ -11518,5 +11518,5 @@ img.cd {
width: 23.5%; width: 23.5%;
height: 23.5%; height: 23.5%;
border-radius: 50%; border-radius: 50%;
border: .125vw solid #ccc; border: 0.125vw solid #ccc;
} }