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

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