mirror of
https://github.com/meowarex/TidaLuna-Plugins.git
synced 2026-06-18 03:43:10 +10:00
Merge pull request #44 from meowarex/dev
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,
|
||||
spinningCoverEverywhere: false,
|
||||
performanceMode: false,
|
||||
spinningArtEnabled: false,
|
||||
spinningArtEnabled: true,
|
||||
backgroundContrast: 120,
|
||||
backgroundBlur: 80,
|
||||
backgroundBrightness: 40,
|
||||
@@ -94,12 +94,12 @@ export const Settings = () => {
|
||||
}}
|
||||
/>
|
||||
<LunaSwitchSetting
|
||||
title="Disable Cover Spin" // Cheers @Max/n0201 for the idea <3
|
||||
desc="Disable the spinning cover art background animation"
|
||||
checked={!spinningArtEnabled}
|
||||
title="Background Cover Spin" // Cheers @Max/n0201 for the idea <3
|
||||
desc="Enable the spinning cover art background animation"
|
||||
checked={spinningArtEnabled}
|
||||
onChange={(_, checked: boolean) => {
|
||||
console.log("Disable Cover Spin:", checked ? "disabled" : "enabled");
|
||||
setSpinningArtEnabled((settings.spinningArtEnabled = !checked));
|
||||
console.log("Background Cover Spin:", checked ? "enabled" : "disabled");
|
||||
setSpinningArtEnabled((settings.spinningArtEnabled = checked));
|
||||
if ((window as any).updateRadiantLyricsGlobalBackground) {
|
||||
(window as any).updateRadiantLyricsGlobalBackground();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user