diff --git a/theatre/studio/src/propEditors/useEditingToolsForCompoundProp.tsx b/theatre/studio/src/propEditors/useEditingToolsForCompoundProp.tsx index da20a60..2f88560 100644 --- a/theatre/studio/src/propEditors/useEditingToolsForCompoundProp.tsx +++ b/theatre/studio/src/propEditors/useEditingToolsForCompoundProp.tsx @@ -101,7 +101,9 @@ export function useEditingToolsForCompoundProp( pathToProp, ) as undefined | IPropPathToTrackIdTree - const hasOneOrMoreSequencedTracks = !!possibleSequenceTrackIds + const hasOneOrMoreSequencedTracks = + possibleSequenceTrackIds !== undefined && + Object.keys(possibleSequenceTrackIds).length !== 0 // check if object is empty or undefined const listOfDescendantTrackIds: SequenceTrackId[] = [] let hasOneOrMoreStatics = true