removes unecessary side-panel-open actions

This commit is contained in:
mikesealey 2024-04-12 09:24:12 +01:00
parent d3c9d835d6
commit 859bda0a51
2 changed files with 0 additions and 7 deletions

View File

@ -6732,11 +6732,6 @@
"label": "Click away to close", "label": "Click away to close",
"defaultValue": true "defaultValue": true
}, },
{
"type": "event",
"key": "sidePanelOpen",
"label": "Side Panel Open"
},
{ {
"type": "event", "type": "event",
"key": "sidePanelClose", "key": "sidePanelClose",

View File

@ -5,7 +5,6 @@
const { styleable, sidePanelStore, builderStore, dndIsDragging } = const { styleable, sidePanelStore, builderStore, dndIsDragging } =
getContext("sdk") getContext("sdk")
export let sidePanelOpen
export let sidePanelClose export let sidePanelClose
export let clickOutsideToClose export let clickOutsideToClose
@ -67,7 +66,6 @@
if (visible) { if (visible) {
if (!target.contains(node)) { if (!target.contains(node)) {
target.appendChild(node) target.appendChild(node)
handleSidePanelOpen()
} }
} else { } else {
if (target.contains(node)) { if (target.contains(node)) {