From 766c55f9e7668e1d78122674214effa8640ece5b Mon Sep 17 00:00:00 2001 From: vezwork Date: Thu, 11 Aug 2022 14:33:58 -0400 Subject: [PATCH] Fix dopesheet-left prop labels --- .../SequenceEditorPanel/DopeSheet/Left/PrimitivePropRow.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/theatre/studio/src/panels/SequenceEditorPanel/DopeSheet/Left/PrimitivePropRow.tsx b/theatre/studio/src/panels/SequenceEditorPanel/DopeSheet/Left/PrimitivePropRow.tsx index e6f1242..214c04e 100644 --- a/theatre/studio/src/panels/SequenceEditorPanel/DopeSheet/Left/PrimitivePropRow.tsx +++ b/theatre/studio/src/panels/SequenceEditorPanel/DopeSheet/Left/PrimitivePropRow.tsx @@ -133,7 +133,8 @@ const PrimitivePropRow: React.FC<{ }) }, [leaf]) - const label = leaf.pathToProp[leaf.pathToProp.length - 1] + const label = + leaf.propConf.label ?? leaf.pathToProp[leaf.pathToProp.length - 1] const isSelectable = true const headRef = useRef(null)