Temporarily remove the focus store update as it triggers a full redraw of the component settings

This commit is contained in:
Dean 2023-06-09 17:42:41 +01:00
parent 74b5cbc525
commit c73315cc44
3 changed files with 6 additions and 6 deletions

View File

@ -343,7 +343,7 @@
secondary
quiet
on:click={() => {
store.actions.settings.propertyFocus(null)
// store.actions.settings.propertyFocus(null)
drawerActions.hide()
}}
>

View File

@ -36,7 +36,7 @@
const saveBinding = () => {
onChange(tempValue)
store.actions.settings.propertyFocus(null)
// store.actions.settings.propertyFocus(null)
onBlur()
bindingDrawer.hide()
}
@ -70,7 +70,7 @@
<div
class="icon"
on:click={() => {
store.actions.settings.propertyFocus(key)
//store.actions.settings.propertyFocus(key)
bindingDrawer.show()
}}
>

View File

@ -74,9 +74,9 @@
store.actions.settings.highlight(null)
}
// To fix focus 'affect' when property is target of a drawer other actions in the builder.
if (propertyFocus) {
store.actions.settings.propertyFocus(null)
}
// if (propertyFocus) {
// store.actions.settings.propertyFocus(null)
// }
})
</script>