mirror of
https://github.com/meowarex/TidaLuna-Plugins.git
synced 2026-06-18 03:43:10 +10:00
Use Positive Logic for Cover Spin Setting
This commit is contained in:
@@ -8,7 +8,7 @@ export const settings = await ReactiveStore.getPluginStorage("RadiantLyrics", {
|
|||||||
lyricsGlowEnabled: true,
|
lyricsGlowEnabled: true,
|
||||||
spinningCoverEverywhere: false,
|
spinningCoverEverywhere: false,
|
||||||
performanceMode: false,
|
performanceMode: false,
|
||||||
spinningArtEnabled: false,
|
spinningArtEnabled: true,
|
||||||
backgroundContrast: 120,
|
backgroundContrast: 120,
|
||||||
backgroundBlur: 80,
|
backgroundBlur: 80,
|
||||||
backgroundBrightness: 40,
|
backgroundBrightness: 40,
|
||||||
@@ -94,12 +94,12 @@ export const Settings = () => {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<LunaSwitchSetting
|
<LunaSwitchSetting
|
||||||
title="Disable Cover Spin" // Cheers @Max/n0201 for the idea <3
|
title="Background Cover Spin" // Cheers @Max/n0201 for the idea <3
|
||||||
desc="Disable the spinning cover art background animation"
|
desc="Enable the spinning cover art background animation"
|
||||||
checked={!spinningArtEnabled}
|
checked={spinningArtEnabled}
|
||||||
onChange={(_, checked: boolean) => {
|
onChange={(_, checked: boolean) => {
|
||||||
console.log("Disable Cover Spin:", checked ? "disabled" : "enabled");
|
console.log("Background Cover Spin:", checked ? "enabled" : "disabled");
|
||||||
setSpinningArtEnabled((settings.spinningArtEnabled = !checked));
|
setSpinningArtEnabled((settings.spinningArtEnabled = checked));
|
||||||
if ((window as any).updateRadiantLyricsGlobalBackground) {
|
if ((window as any).updateRadiantLyricsGlobalBackground) {
|
||||||
(window as any).updateRadiantLyricsGlobalBackground();
|
(window as any).updateRadiantLyricsGlobalBackground();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user