From f8e6dd99ef622f6579df9464bc1745062b12c357 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 23 Dec 2020 09:56:18 +0000 Subject: [PATCH] Fix lag when swapping between settings and design options --- .../userInterface/PropertyGroup.svelte | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/packages/builder/src/components/userInterface/PropertyGroup.svelte b/packages/builder/src/components/userInterface/PropertyGroup.svelte index 2fb304f5c8..e2a712f45f 100644 --- a/packages/builder/src/components/userInterface/PropertyGroup.svelte +++ b/packages/builder/src/components/userInterface/PropertyGroup.svelte @@ -14,17 +14,19 @@ -
- {#each properties as props} - onStyleChanged(styleCategory, key, value)} - props={{ ...excludeProps(props, ['control', 'label']) }} /> - {/each} -
+ {#if open} +
+ {#each properties as props} + onStyleChanged(styleCategory, key, value)} + props={{ ...excludeProps(props, ['control', 'label']) }} /> + {/each} +
+ {/if}