Ensure the navigation does not show the settings bar

This commit is contained in:
Dean 2022-11-17 14:40:16 +00:00
parent c33e13fa4b
commit a69bccae24
1 changed files with 2 additions and 2 deletions

View File

@ -16,14 +16,14 @@
let measured = false let measured = false
$: definition = $componentStore.selectedComponentDefinition $: definition = $componentStore.selectedComponentDefinition
$: showBar = definition?.showSettingsBar !== false && !$dndIsDragging $: showBar =
definition?.showSettingsBar !== false && !$dndIsDragging && definition
$: { $: {
if (!showBar) { if (!showBar) {
measured = false measured = false
} }
} }
$: settings = getBarSettings(definition) $: settings = getBarSettings(definition)
$: isScreen = $: isScreen =
$builderStore.selectedComponentId === $builderStore.screen?.props?._id $builderStore.selectedComponentId === $builderStore.screen?.props?._id