1
0
Fork 0
mirror of synced 2024-07-09 00:06:05 +12:00

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>