removes unecessary side-panel-open actions
This commit is contained in:
parent
d3c9d835d6
commit
859bda0a51
|
@ -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",
|
||||||
|
|
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in New Issue