From 4bd721a3e587e6db4d4084619d705ab96b4c9573 Mon Sep 17 00:00:00 2001 From: Ategon Dev Date: Mon, 15 Jul 2024 22:54:12 +0000 Subject: [PATCH] Fix template opacity --- packages/client/src/components/Settings/TemplateSettings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/Settings/TemplateSettings.tsx b/packages/client/src/components/Settings/TemplateSettings.tsx index e7027e9..9b3f9b7 100644 --- a/packages/client/src/components/Settings/TemplateSettings.tsx +++ b/packages/client/src/components/Settings/TemplateSettings.tsx @@ -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 + "%"} />