Fix compound props showing wrong control indicator
This commit is contained in:
parent
0ed466f404
commit
1459163420
1 changed files with 3 additions and 1 deletions
|
@ -101,7 +101,9 @@ export function useEditingToolsForCompoundProp<T extends SerializablePrimitive>(
|
||||||
pathToProp,
|
pathToProp,
|
||||||
) as undefined | IPropPathToTrackIdTree
|
) 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[] = []
|
const listOfDescendantTrackIds: SequenceTrackId[] = []
|
||||||
|
|
||||||
let hasOneOrMoreStatics = true
|
let hasOneOrMoreStatics = true
|
||||||
|
|
Loading…
Reference in a new issue