Fix dopesheet-left prop labels

This commit is contained in:
vezwork 2022-08-11 14:33:58 -04:00 committed by Elliot
parent 0875b785ce
commit 766c55f9e7

View file

@ -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<HTMLDivElement | null>(null)