From c6cb267b30567f13933478c88fd790394aceb141 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 5 Aug 2024 16:42:34 +0100 Subject: [PATCH] Fix settings bar values not working with default values --- packages/client/src/components/preview/SettingsBar.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/client/src/components/preview/SettingsBar.svelte b/packages/client/src/components/preview/SettingsBar.svelte index 03dd28381c..de234d20ea 100644 --- a/packages/client/src/components/preview/SettingsBar.svelte +++ b/packages/client/src/components/preview/SettingsBar.svelte @@ -254,6 +254,7 @@ prop={setting.key} options={setting.options} label={setting.label} + {component} /> {/if} {:else if setting.type === "boolean"} @@ -262,9 +263,10 @@ icon={setting.barIcon} title={setting.barTitle || setting.label} bool + {component} /> {:else if setting.type === "color"} - + {/if} {#if setting.barSeparator !== false && (settings.length != idx + 1 || !isRoot)}