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:
@ -22,12 +22,12 @@ const NodeOpacitySlider = () => {
|
||||
<InvSlider
|
||||
aria-label={t('nodes.nodeOpacity')}
|
||||
value={nodeOpacity}
|
||||
defaultValue={1}
|
||||
min={0.5}
|
||||
max={1}
|
||||
step={0.01}
|
||||
onChange={handleChange}
|
||||
orientation="vertical"
|
||||
defaultValue={30}
|
||||
h="calc(100% - 0.5rem)"
|
||||
/>
|
||||
</Flex>
|
||||
|
Reference in New Issue
Block a user