mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
defaultValue on adjusters
This commit is contained in:
committed by
psychedelicious
parent
4e2439fc8e
commit
899dc739fa
@@ -20,8 +20,8 @@ const AdjustmentSliderRow = ({ label, value, onChange, min = -1, max = 1, step =
|
||||
<FormLabel m={0} minW="90px">
|
||||
{label}
|
||||
</FormLabel>
|
||||
<CompositeSlider value={value} onChange={onChange} min={min} max={max} step={step} marks />
|
||||
<CompositeNumberInput value={value} onChange={onChange} min={min} max={max} step={step} />
|
||||
<CompositeSlider value={value} onChange={onChange} defaultValue={0} min={min} max={max} step={step} marks />
|
||||
<CompositeNumberInput value={value} onChange={onChange} defaultValue={0} min={min} max={max} step={step} />
|
||||
</FormControl>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user