mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): control net UI weights 0 to 2
This commit is contained in:
parent
8f66d826a5
commit
7b6d91c69f
@ -38,11 +38,11 @@ const ParamControlNetWeight = (props: ParamControlNetWeightProps) => {
|
||||
sliderFormLabelProps={{ pb: 2 }}
|
||||
value={weight}
|
||||
onChange={handleWeightChanged}
|
||||
min={-1}
|
||||
max={1}
|
||||
min={0}
|
||||
max={2}
|
||||
step={0.01}
|
||||
withSliderMarks={!mini}
|
||||
sliderMarks={[-1, 0, 1]}
|
||||
sliderMarks={[0, 1, 2]}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user