fix ai slop
This commit is contained in:
parent
b70d04c2c7
commit
b9fb5a335d
3 changed files with 6 additions and 7 deletions
|
|
@ -962,6 +962,7 @@ export const visualizerSettings = {
|
|||
PRESET_KEY: 'visualizer-preset',
|
||||
BUTTERCHURN_CYCLE_KEY: 'butterchurn-cycle-duration',
|
||||
DIM_AMOUNT_KEY: 'visualizer-dim-amount',
|
||||
CD_ALBUM_COVER_KEY: 'cd-album-cover-enabled',
|
||||
|
||||
getPreset() {
|
||||
try {
|
||||
|
|
@ -1081,8 +1082,6 @@ export const visualizerSettings = {
|
|||
localStorage.setItem('butterchurn-randomize-enabled', enabled);
|
||||
},
|
||||
|
||||
CD_ALBUM_COVER_KEY: 'cd-album-cover-enabled',
|
||||
|
||||
// Spin album cover and add hole in fullscreen
|
||||
isCdAlbumCoverEnabled() {
|
||||
try {
|
||||
|
|
|
|||
6
js/ui.js
6
js/ui.js
|
|
@ -1360,9 +1360,9 @@ export class UIRenderer {
|
|||
const cdRing = document.getElementById('cd-ring');
|
||||
const isCdMode = visualizerSettings.isCdAlbumCoverEnabled();
|
||||
|
||||
coverImage.classList.toggle('cd', isCdMode);
|
||||
coverCard.classList.toggle('cd', isCdMode);
|
||||
cdRing.classList.toggle('cd', isCdMode);
|
||||
coverImage?.classList.toggle('cd', isCdMode);
|
||||
coverCard?.classList.toggle('cd', isCdMode);
|
||||
cdRing?.classList.toggle('cd', isCdMode);
|
||||
|
||||
await this.updateFullscreenMetadata(track, nextTrack);
|
||||
|
||||
|
|
|
|||
|
|
@ -11501,11 +11501,11 @@ img.cd {
|
|||
.fullscreen-artwork-card.cd {
|
||||
position: relative;
|
||||
border-radius: 50% !important;
|
||||
border: .125vw solid `#ccc`;
|
||||
border: .125vw solid #ccc;
|
||||
animation: spin 200s linear infinite;
|
||||
}
|
||||
|
||||
`@media` (prefers-reduced-motion: reduce) {
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.fullscreen-artwork-card.cd {
|
||||
animation: none;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue