From 6558514852557ba15f5085901b855f1d063bfda4 Mon Sep 17 00:00:00 2001 From: Aria Minaei Date: Fri, 16 Jul 2021 23:59:13 +0200 Subject: [PATCH] Graph editor toggles automatically --- .../SequenceEditorPanel/DopeSheet/Left/PrimitivePropRow.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/theatre/studio/src/panels/SequenceEditorPanel/DopeSheet/Left/PrimitivePropRow.tsx b/theatre/studio/src/panels/SequenceEditorPanel/DopeSheet/Left/PrimitivePropRow.tsx index 95a6bd3..28ee373 100644 --- a/theatre/studio/src/panels/SequenceEditorPanel/DopeSheet/Left/PrimitivePropRow.tsx +++ b/theatre/studio/src/panels/SequenceEditorPanel/DopeSheet/Left/PrimitivePropRow.tsx @@ -118,6 +118,11 @@ const PrimitivePropRow: React.FC<{ stateEditors.studio.historic.projects.stateByProjectId.stateBySheetId.sequenceEditor.addPropToGraphEditor( {...c, pathToProp: leaf.pathToProp}, ) + stateEditors.studio.historic.panels.sequenceEditor.graphEditor.setIsOpen( + { + isOpen: true, + }, + ) } }) }, [leaf])