Ensure the navigation does not show the settings bar
This commit is contained in:
parent
c33e13fa4b
commit
a69bccae24
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue