reinstates actions running when sidepanel closes
This commit is contained in:
parent
ad10679115
commit
6c38d32549
|
@ -5,7 +5,7 @@
|
||||||
const { styleable, sidePanelStore, builderStore, dndIsDragging } =
|
const { styleable, sidePanelStore, builderStore, dndIsDragging } =
|
||||||
getContext("sdk")
|
getContext("sdk")
|
||||||
|
|
||||||
export let sidePanelClose
|
export let onClose
|
||||||
export let ignoreClicksOutside
|
export let ignoreClicksOutside
|
||||||
|
|
||||||
// Automatically show and hide the side panel when inside the builder.
|
// Automatically show and hide the side panel when inside the builder.
|
||||||
|
@ -48,8 +48,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleSidePanelClose = async () => {
|
const handleSidePanelClose = async () => {
|
||||||
if (sidePanelClose) {
|
if (onClose) {
|
||||||
await sidePanelClose()
|
await onClose()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue