1
0
Fork 0
mirror of synced 2024-09-11 06:56:23 +12:00

Fix flashing settings bar in stale position

This commit is contained in:
Andrew Kingston 2022-10-21 17:51:35 +01:00
parent 24cc71267c
commit b26ab6f8b3

View file

@ -17,6 +17,11 @@
$: definition = $componentStore.selectedComponentDefinition
$: showBar = definition?.showSettingsBar && !$dndIsDragging
$: {
if (!showBar) {
measured = false
}
}
$: settings = getBarSettings(definition)
const getBarSettings = definition => {