Merge branch 'fix-template-opacity' into 'main'

Fix template opacity

See merge request sc07/canvas!23
This commit is contained in:
Grant 2024-07-15 22:54:12 +00:00
commit 97e09a18e5
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ export const TemplateSettings = () => {
step={1}
minValue={0}
maxValue={100}
value={opacity || 100}
value={opacity ?? 100}
onChange={(v) => setOpacity(v as number)}
getValue={(v) => v + "%"}
/>