Fix flashing settings bar in stale position
This commit is contained in:
parent
ca8fe0e9fd
commit
986141b8b1
|
@ -17,6 +17,11 @@
|
||||||
|
|
||||||
$: definition = $componentStore.selectedComponentDefinition
|
$: definition = $componentStore.selectedComponentDefinition
|
||||||
$: showBar = definition?.showSettingsBar && !$dndIsDragging
|
$: showBar = definition?.showSettingsBar && !$dndIsDragging
|
||||||
|
$: {
|
||||||
|
if (!showBar) {
|
||||||
|
measured = false
|
||||||
|
}
|
||||||
|
}
|
||||||
$: settings = getBarSettings(definition)
|
$: settings = getBarSettings(definition)
|
||||||
|
|
||||||
const getBarSettings = definition => {
|
const getBarSettings = definition => {
|
||||||
|
|
Loading…
Reference in New Issue