Fix flashing settings bar in stale position
This commit is contained in:
parent
24cc71267c
commit
b26ab6f8b3
1 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,11 @@
|
|||
|
||||
$: definition = $componentStore.selectedComponentDefinition
|
||||
$: showBar = definition?.showSettingsBar && !$dndIsDragging
|
||||
$: {
|
||||
if (!showBar) {
|
||||
measured = false
|
||||
}
|
||||
}
|
||||
$: settings = getBarSettings(definition)
|
||||
|
||||
const getBarSettings = definition => {
|
||||
|
|
Loading…
Reference in a new issue