From b48083860dceb472f584d646ab79d02e402293e9 Mon Sep 17 00:00:00 2001 From: Dean Date: Fri, 9 Jun 2023 18:09:21 +0100 Subject: [PATCH] Removed commented out code --- .../src/components/common/bindings/BindingPanel.svelte | 1 - .../src/components/common/bindings/DrawerBindableInput.svelte | 2 -- .../design/settings/controls/PropertyControl.svelte | 4 ---- 3 files changed, 7 deletions(-) diff --git a/packages/builder/src/components/common/bindings/BindingPanel.svelte b/packages/builder/src/components/common/bindings/BindingPanel.svelte index 1785d0d9cc..83a3968e9b 100644 --- a/packages/builder/src/components/common/bindings/BindingPanel.svelte +++ b/packages/builder/src/components/common/bindings/BindingPanel.svelte @@ -343,7 +343,6 @@ secondary quiet on:click={() => { - // store.actions.settings.propertyFocus(null) drawerActions.hide() }} > diff --git a/packages/builder/src/components/common/bindings/DrawerBindableInput.svelte b/packages/builder/src/components/common/bindings/DrawerBindableInput.svelte index dc96d931f8..7fbbf75a30 100644 --- a/packages/builder/src/components/common/bindings/DrawerBindableInput.svelte +++ b/packages/builder/src/components/common/bindings/DrawerBindableInput.svelte @@ -34,7 +34,6 @@ const saveBinding = () => { onChange(tempValue) - // store.actions.settings.propertyFocus(null) onBlur() bindingDrawer.hide() } @@ -68,7 +67,6 @@
{ - //store.actions.settings.propertyFocus(key) bindingDrawer.show() }} > diff --git a/packages/builder/src/components/design/settings/controls/PropertyControl.svelte b/packages/builder/src/components/design/settings/controls/PropertyControl.svelte index 0d1bb01d15..57601d47ca 100644 --- a/packages/builder/src/components/design/settings/controls/PropertyControl.svelte +++ b/packages/builder/src/components/design/settings/controls/PropertyControl.svelte @@ -73,10 +73,6 @@ if (highlighted) { 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) - // } })