1
0
Fork 0
mirror of synced 2024-07-19 21:26:22 +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 secondary
quiet quiet
on:click={() => { on:click={() => {
store.actions.settings.propertyFocus(null) // store.actions.settings.propertyFocus(null)
drawerActions.hide() drawerActions.hide()
}} }}
> >

View file

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

View file

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