Skip to content

🎥 Make videos programmatically with React

ungroup controls

Jonny Burger01e1d6b005b9
diff --git a/packages/studio/src/helpers/timeline-layout.ts b/packages/studio/src/helpers/timeline-layout.ts
index d773274d4c..78a3adb471 100644
--- a/packages/studio/src/helpers/timeline-layout.ts
+++ b/packages/studio/src/helpers/timeline-layout.ts
@@ -101,19 +101,14 @@ export const buildTimelineTree = ({
});
if (controlFields && controlFields.length > 0) {
- roots.push({
- kind: 'group',
- id: `${sequence.id}::controls`,
- label: 'Controls',
- children: controlFields.map(
- (f): TimelineTreeNode => ({
- kind: 'field',
- id: `${sequence.id}::controls::${f.key}`,
- label: f.description ?? f.key,
- field: f,
- }),
- ),
- });
+ for (const f of controlFields) {
+ roots.push({
+ kind: 'field',
+ id: `${sequence.id}::controls::${f.key}`,
+ label: f.description ?? f.key,
+ field: f,
+ });
+ }
}
return roots;