Merge branch 'fix-template-opacity' into 'main'
Fix template opacity See merge request sc07/canvas!23
This commit is contained in:
commit
97e09a18e5
|
@ -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