Fix template opacity

This commit is contained in:
Ategon Dev 2024-07-15 22:54:12 +00:00 committed by Grant
parent 95b61fa050
commit 4bd721a3e5
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 + "%"}
/>