mirror of
https://github.com/meowarex/TidaLuna-Plugins.git
synced 2026-08-26 22:37:45 +10:00
Hotfix + Re add the bug immediatley <3
This commit is contained in:
@@ -49,6 +49,7 @@ export const settings = await ReactiveStore.getPluginStorage("RadiantLyrics", {
|
||||
playerBarTintCustomColors: [] as string[],
|
||||
// Master switch
|
||||
backdropEnabled: true,
|
||||
backdropStyle: 0,
|
||||
backdropPlaybackReactive: true,
|
||||
CoverEverywhere: true,
|
||||
performanceMode: false,
|
||||
@@ -82,6 +83,9 @@ export const Settings = () => {
|
||||
const [backdropEnabled, setBackdropEnabled] = React.useState(
|
||||
settings.backdropEnabled,
|
||||
);
|
||||
const [backdropStyle, setBackdropStyle] = React.useState(
|
||||
settings.backdropStyle,
|
||||
);
|
||||
const [backdropPlaybackReactive, setBackdropPlaybackReactive] =
|
||||
React.useState(settings.backdropPlaybackReactive);
|
||||
const [performanceMode, setPerformanceMode] = React.useState(
|
||||
@@ -922,6 +926,19 @@ export const Settings = () => {
|
||||
refreshBackdrop();
|
||||
}}
|
||||
/>
|
||||
<LunaNumberSetting
|
||||
title="Backdrop Style" // This feature is the result of a bug caused by my ADHD <3
|
||||
desc="0 = Fluid, 1 = Aurora"
|
||||
min={0}
|
||||
max={1}
|
||||
step={1}
|
||||
value={backdropStyle}
|
||||
onNumber={(value: number) => {
|
||||
settings.backdropStyle = value;
|
||||
setBackdropStyle(value);
|
||||
refreshBackdrop();
|
||||
}}
|
||||
/>
|
||||
<AnySwitch
|
||||
title="Playback Reactive"
|
||||
desc="Cover shader reacts to playback state by freezing/resuming"
|
||||
|
||||
Reference in New Issue
Block a user