mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-16 05:36:00 +02:00
add opacity configuration for visualizers
This commit is contained in:
+16
@@ -988,6 +988,14 @@ const GeneralSettings = () => {
|
||||
min={0}
|
||||
onChangeEnd={(e) => updateProperty('maxFPS', e)}
|
||||
/>
|
||||
<VisualizerSlider
|
||||
defaultValue={visualizer.audiomotionanalyzer.opacity}
|
||||
label={t('visualizer.opacity')}
|
||||
max={1}
|
||||
min={0}
|
||||
onChangeEnd={(e) => updateProperty('opacity', e)}
|
||||
step={0.01}
|
||||
/>
|
||||
</Group>
|
||||
</Stack>
|
||||
</Fieldset>
|
||||
@@ -1972,6 +1980,14 @@ const ButterchurnGeneralSettings = () => {
|
||||
onChangeEnd={(e) => updateProperty('maxFPS', e)}
|
||||
step={1}
|
||||
/>
|
||||
<VisualizerSlider
|
||||
defaultValue={visualizer.butterchurn.opacity}
|
||||
label={t('visualizer.opacity')}
|
||||
max={1}
|
||||
min={0}
|
||||
onChangeEnd={(e) => updateProperty('opacity', e)}
|
||||
step={0.01}
|
||||
/>
|
||||
</Group>
|
||||
</Stack>
|
||||
</Fieldset>
|
||||
|
||||
Reference in New Issue
Block a user