From b26ab6f8b3a1f81d98e5cf87d8417186caf37255 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 21 Oct 2022 17:51:35 +0100 Subject: [PATCH] Fix flashing settings bar in stale position --- packages/client/src/components/preview/SettingsBar.svelte | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/client/src/components/preview/SettingsBar.svelte b/packages/client/src/components/preview/SettingsBar.svelte index 757d8b88db..332409986a 100644 --- a/packages/client/src/components/preview/SettingsBar.svelte +++ b/packages/client/src/components/preview/SettingsBar.svelte @@ -17,6 +17,11 @@ $: definition = $componentStore.selectedComponentDefinition $: showBar = definition?.showSettingsBar && !$dndIsDragging + $: { + if (!showBar) { + measured = false + } + } $: settings = getBarSettings(definition) const getBarSettings = definition => {