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
$: definition = $componentStore.selectedComponentDefinition
$: showBar = definition?.showSettingsBar !== false && !$dndIsDragging
$: showBar =
definition?.showSettingsBar !== false && !$dndIsDragging && definition
$: {
if (!showBar) {
measured = false
}
}
$: settings = getBarSettings(definition)
$: isScreen =
$builderStore.selectedComponentId === $builderStore.screen?.props?._id