mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
fix butterchurn preset display not updating
This commit is contained in:
@@ -479,7 +479,8 @@ const VisualizerInner = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const CurrentPresetDisplay = () => {
|
const CurrentPresetDisplay = () => {
|
||||||
const currentPreset = useSettingsStore.getState().visualizer.butterchurn.currentPreset;
|
const currentPreset = useSettingsStore((store) => store.visualizer.butterchurn.currentPreset);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Text className={styles['preset-overlay']} isNoSelect size="sm">
|
<Text className={styles['preset-overlay']} isNoSelect size="sm">
|
||||||
{currentPreset}
|
{currentPreset}
|
||||||
|
|||||||
Reference in New Issue
Block a user