feat(ui): add support for default values for sliders

This commit is contained in:
psychedelicious
2024-01-03 08:16:44 +11:00
parent b4c0dafdc8
commit 06245bc761
44 changed files with 87 additions and 323 deletions

View File

@ -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>