Temporarily remove the focus store update as it triggers a full redraw of the component settings
This commit is contained in:
parent
74b5cbc525
commit
c73315cc44
3 changed files with 6 additions and 6 deletions
|
@ -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()
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
|
@ -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()
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue