diff --git a/theatre/studio/src/panels/DetailPanel/DetailPanel.tsx b/theatre/studio/src/panels/DetailPanel/DetailPanel.tsx index 6f2979a..6953281 100644 --- a/theatre/studio/src/panels/DetailPanel/DetailPanel.tsx +++ b/theatre/studio/src/panels/DetailPanel/DetailPanel.tsx @@ -125,6 +125,15 @@ const DetailPanel: React.FC<{}> = (props) => { const obj = selection.find(isSheetObject) if (obj) { + const event = new CustomEvent('panelEvent', { + bubbles: false, + detail: { + panelID: obj.address.objectKey, + action: 'opened', + }, + }) + window.dispatchEvent(event) + return (