Fix template opacity
This commit is contained in:
parent
95b61fa050
commit
4bd721a3e5
|
@ -71,7 +71,7 @@ export const TemplateSettings = () => {
|
||||||
step={1}
|
step={1}
|
||||||
minValue={0}
|
minValue={0}
|
||||||
maxValue={100}
|
maxValue={100}
|
||||||
value={opacity || 100}
|
value={opacity ?? 100}
|
||||||
onChange={(v) => setOpacity(v as number)}
|
onChange={(v) => setOpacity(v as number)}
|
||||||
getValue={(v) => v + "%"}
|
getValue={(v) => v + "%"}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue