mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): add support for default values for sliders
This commit is contained in:
@ -266,6 +266,7 @@ const IAICanvasToolChooserOptions = () => {
|
||||
step={1}
|
||||
onChange={handleChangeBrushSize}
|
||||
marks={marks}
|
||||
defaultValue={50}
|
||||
/>
|
||||
<InvNumberInput
|
||||
value={brushSize}
|
||||
@ -273,6 +274,7 @@ const IAICanvasToolChooserOptions = () => {
|
||||
max={500}
|
||||
step={1}
|
||||
onChange={handleChangeBrushSize}
|
||||
defaultValue={50}
|
||||
/>
|
||||
</InvControl>
|
||||
</Flex>
|
||||
|
Reference in New Issue
Block a user