Skip to content

πŸŽ₯ Make videos programmatically with React

`@remotion/studio`: Drag right edge of Sequence to change `durationInFrames` [LGTM] (#8010)

Jonny Burger9a627c031750
diff --git a/packages/core/src/CompositionManager.tsx b/packages/core/src/CompositionManager.tsx
index eb6d60490e..4af41fa273 100644
--- a/packages/core/src/CompositionManager.tsx
+++ b/packages/core/src/CompositionManager.tsx
@@ -119,6 +119,7 @@ export type TSequence = {
controls: SequenceControls | null;
refForOutline: React.RefObject<HTMLElement | null> | null;
effects: readonly EffectDefinition<unknown>[];
+ isInsideSeries: boolean;
} & EnhancedTSequenceData;
export type AudioOrVideoAsset = {
diff --git a/packages/core/src/HtmlInCanvas.tsx b/packages/core/src/HtmlInCanvas.tsx
index 04deaefc2b..cd12a8ff7e 100644
--- a/packages/core/src/HtmlInCanvas.tsx
+++ b/packages/core/src/HtmlInCanvas.tsx
@@ -18,6 +18,7 @@ import {
} from './effects/use-memoized-effects.js';
import {addSequenceStackTraces} from './enable-sequence-stack-traces.js';
import {
+ durationInFramesField,
hiddenField,
sequenceVisualStyleSchema,
} from './sequence-field-schema.js';
@@ -614,6 +615,7 @@ const HtmlInCanvasInner = forwardRef<
HtmlInCanvasInner.displayName = 'HtmlInCanvas';
const htmlInCanvasSchema = {
+ durationInFrames: durationInFramesField,
...sequenceVisualStyleSchema,
hidden: hiddenField,
};
diff --git a/packages/core/src/Img.tsx b/packages/core/src/Img.tsx
index 817c9a5465..12cabda495 100644
--- a/packages/core/src/Img.tsx
+++ b/packages/core/src/Img.tsx
@@ -14,6 +14,7 @@ import {usePreload} from './prefetch.js';
import {
hiddenField,
sequenceVisualStyleSchema,
+ durationInFramesField,
type SequenceSchema,
} from './sequence-field-schema.js';
import type {SequenceProps} from './Sequence.js';
@@ -359,6 +360,7 @@ const CanvasImageWithPrivateProps = CanvasImage as React.ComponentType<
>;
export const imgSchema = {
+ durationInFrames: durationInFramesField,
...sequenceVisualStyleSchema,
hidden: hiddenField,
} as const satisfies SequenceSchema;
diff --git a/packages/core/src/Sequence.tsx b/packages/core/src/Sequence.tsx
index a0f172b333..799ef9d16c 100644
--- a/packages/core/src/Sequence.tsx
+++ b/packages/core/src/Sequence.tsx
@@ -17,6 +17,7 @@ import {sequenceSchema} from './sequence-field-schema.js';
import type {SequenceContextType} from './SequenceContext.js';
import {SequenceContext} from './SequenceContext.js';
import {SequenceManager} from './SequenceManager.js';
+import {IsInsideSeriesContext} from './series/is-inside-series.js';
import {
useTimelineContext,
useTimelinePosition,
@@ -28,6 +29,8 @@ import {useVideoConfig} from './use-video-config.js';
import {ENABLE_V5_BREAKING_CHANGES} from './v5-flag.js';
import {wrapInSchema} from './wrap-in-schema.js';
+const EMPTY_EFFECTS: readonly EffectDefinition<unknown>[] = [];
+
export type AbsoluteFillLayout = {
layout?: 'absolute-fill';
premountFor?: number;
@@ -270,6 +273,8 @@ const RegularSequenceRefForwardingFunction: React.ForwardRefRenderFunction<
const env = useRemotionEnvironment();
+ const isInsideSeries = useContext(IsInsideSeriesContext);
+
const inheritedStack = (other as any)?.stack ?? null;
// Our assumption: Stack doesnt' change. After we symbolicate we assign it a nodePath
// and if it changes, it would lead to-remounting of the sequence.
@@ -286,7 +291,7 @@ const RegularSequenceRefForwardingFunction: React.ForwardRefRenderFunction<
registerSequence({
type: 'image',
controls: controls ?? null,
- effects: _remotionInternalEffects ?? [],
+ effects: _remotionInternalEffects ?? EMPTY_EFFECTS,
displayName: timelineClipName,
documentationLink: resolvedDocumentationLink,
duration: actualDurationInFrames,
@@ -302,12 +307,13 @@ const RegularSequenceRefForwardingFunction: React.ForwardRefRenderFunction<
src: isMedia.src,
getStack: () => stackRef.current,
refForOutline: refForOutline ?? null,
+ isInsideSeries,
});
} else {
registerSequence({
type: isMedia.type,
controls: controls ?? null,
- effects: _remotionInternalEffects ?? [],
+ effects: _remotionInternalEffects ?? EMPTY_EFFECTS,
displayName: timelineClipName,
documentationLink: resolvedDocumentationLink,
doesVolumeChange: isMedia.data.doesVolumeChange,
@@ -327,6 +333,7 @@ const RegularSequenceRefForwardingFunction: React.ForwardRefRenderFunction<
startMediaFrom: isMedia.data.startMediaFrom,
volume: isMedia.data.volumes,
refForOutline: refForOutline ?? null,
+ isInsideSeries,
});
}
@@ -351,8 +358,9 @@ const RegularSequenceRefForwardingFunction: React.ForwardRefRenderFunction<
premountDisplay: premountDisplay ?? null,
postmountDisplay: postmountDisplay ?? null,
controls: controls ?? null,
- effects: _remotionInternalEffects ?? [],
+ effects: _remotionInternalEffects ?? EMPTY_EFFECTS,
refForOutline: refForOutline ?? null,
+ isInsideSeries,
});
return () => {
unregisterSequence(id);
@@ -379,6 +387,7 @@ const RegularSequenceRefForwardingFunction: React.ForwardRefRenderFunction<
isMedia,
resolvedDocumentationLink,
refForOutline,
+ isInsideSeries,
]);
// Ceil to support floats
diff --git a/packages/core/src/animated-image/AnimatedImage.tsx b/packages/core/src/animated-image/AnimatedImage.tsx
index d5fcc188ba..09b6800387 100644
--- a/packages/core/src/animated-image/AnimatedImage.tsx
+++ b/packages/core/src/animated-image/AnimatedImage.tsx
@@ -16,6 +16,7 @@ import {
} from '../effects/use-memoized-effects.js';
import {addSequenceStackTraces} from '../enable-sequence-stack-traces.js';
import {
+ durationInFramesField,
hiddenField,
sequenceVisualStyleSchema,
type SequenceSchema,
@@ -34,6 +35,7 @@ import {serializeRequestInit} from './request-init';
import {resolveAnimatedImageSource} from './resolve-image-source';
const animatedImageSchema = {
+ durationInFrames: durationInFramesField,
playbackRate: {
type: 'number',
min: 0,
@@ -41,6 +43,7 @@ const animatedImageSchema = {
step: 0.1,
default: 1,
description: 'Playback Rate',
+ hiddenFromList: false,
},
...sequenceVisualStyleSchema,
hidden: hiddenField,
diff --git a/packages/core/src/canvas-image/CanvasImage.tsx b/packages/core/src/canvas-image/CanvasImage.tsx
index 60f5ab62d3..2bd455714b 100644
--- a/packages/core/src/canvas-image/CanvasImage.tsx
+++ b/packages/core/src/canvas-image/CanvasImage.tsx
@@ -23,6 +23,7 @@ import {usePreload} from '../prefetch.js';
import {
hiddenField,
sequenceVisualStyleSchema,
+ durationInFramesField,
type SequenceSchema,
} from '../sequence-field-schema.js';
import {Sequence} from '../Sequence.js';
@@ -34,6 +35,7 @@ import {wrapInSchema} from '../wrap-in-schema.js';
import type {CanvasImageCanvasProps, CanvasImageProps} from './props.js';
export const canvasImageSchema = {
+ durationInFrames: durationInFramesField,
fit: {
type: 'enum',
default: 'fill',
diff --git a/packages/core/src/effects/Solid.tsx b/packages/core/src/effects/Solid.tsx
index 3b6178495e..a20fa2b055 100644
--- a/packages/core/src/effects/Solid.tsx
+++ b/packages/core/src/effects/Solid.tsx
@@ -10,6 +10,7 @@ import React, {
import type {SequenceControls} from '../CompositionManager.js';
import {addSequenceStackTraces} from '../enable-sequence-stack-traces.js';
import {
+ durationInFramesField,
hiddenField,
sequenceVisualStyleSchema,
type SequenceSchema,
@@ -45,6 +46,7 @@ type InnerSolidProps = MandatoryProps &
export type SolidProps = MandatoryProps & Partial<OptionalProps>;
const solidSchema = {
+ durationInFrames: durationInFramesField,
color: {
type: 'color',
default: 'transparent',
@@ -56,6 +58,7 @@ const solidSchema = {
step: 1,
default: 1920,
description: 'Width',
+ hiddenFromList: false,
},
height: {
type: 'number',
@@ -63,6 +66,7 @@ const solidSchema = {
step: 1,
default: 1080,
description: 'Height',
+ hiddenFromList: false,
},
...sequenceVisualStyleSchema,
hidden: hiddenField,
diff --git a/packages/core/src/internals.ts b/packages/core/src/internals.ts
index 10c10b10bc..dc5c10963d 100644
--- a/packages/core/src/internals.ts
+++ b/packages/core/src/internals.ts
@@ -115,6 +115,7 @@ import {
useResolvedVideoConfig,
} from './ResolveCompositionConfig.js';
import {
+ durationInFramesField,
hiddenField,
sequencePremountSchema,
sequenceSchema,
@@ -377,6 +378,7 @@ export const Internals = {
getCodeValuesCtx,
getEffectCodeValuesCtx,
hiddenField,
+ durationInFramesField,
} as const;
export type {
diff --git a/packages/core/src/sequence-field-schema.ts b/packages/core/src/sequence-field-schema.ts
index 8f16584315..88eb6ecf13 100644
--- a/packages/core/src/sequence-field-schema.ts
+++ b/packages/core/src/sequence-field-schema.ts
@@ -9,6 +9,7 @@ export type NumberFieldSchema = {
step?: number;
default: number | undefined;
description?: string;
+ hiddenFromList: boolean;
};
export type BooleanFieldSchema = {
@@ -119,6 +120,7 @@ export const sequenceVisualStyleSchema = {
step: 0.01,
default: 1,
description: 'Opacity',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
@@ -129,9 +131,14 @@ export const sequencePremountSchema = {
description: 'Premount For',
min: 0,
step: 1,
+ hiddenFromList: false,
},
postmountFor: {
- type: 'hidden',
+ type: 'number',
+ default: 0,
+ min: 0,
+ step: 1,
+ hiddenFromList: true,
},
styleWhilePremounted: {
type: 'hidden',
@@ -152,8 +159,17 @@ export const hiddenField: SequenceFieldSchema = {
description: 'Hidden',
};
+export const durationInFramesField = {
+ type: 'number',
+ default: undefined,
+ min: 1,
+ step: 1,
+ hiddenFromList: true,
+} as const satisfies SequenceFieldSchema;
+
export const sequenceSchema = {
hidden: hiddenField,
+ durationInFrames: durationInFramesField,
layout: {
type: 'enum',
default: 'absolute-fill',
diff --git a/packages/core/src/test/create-effect-disabled.test.ts b/packages/core/src/test/create-effect-disabled.test.ts
index 43649dc31c..5fbce81480 100644
--- a/packages/core/src/test/create-effect-disabled.test.ts
+++ b/packages/core/src/test/create-effect-disabled.test.ts
@@ -54,7 +54,12 @@ test('createEffect injects `disabled` into the schema for save-effect-props', ()
apply: () => undefined,
cleanup: () => undefined,
schema: {
- amount: {type: 'number', default: 0, description: 'Amount'},
+ amount: {
+ type: 'number',
+ default: 0,
+ description: 'Amount',
+ hiddenFromList: false,
+ },
},
validateParams: () => {},
});
@@ -68,6 +73,7 @@ test('createEffect injects `disabled` into the schema for save-effect-props', ()
type: 'number',
default: 0,
description: 'Amount',
+ hiddenFromList: false,
});
});
diff --git a/packages/core/src/test/create-effect-validate-params.test.ts b/packages/core/src/test/create-effect-validate-params.test.ts
index eddd0e6fe1..1c5a891b0c 100644
--- a/packages/core/src/test/create-effect-validate-params.test.ts
+++ b/packages/core/src/test/create-effect-validate-params.test.ts
@@ -16,7 +16,12 @@ const makeEffectWithValidation = () =>
apply: () => undefined,
cleanup: () => undefined,
schema: {
- value: {type: 'number', default: undefined, description: 'Value'},
+ value: {
+ type: 'number',
+ default: undefined,
+ description: 'Value',
+ hiddenFromList: false,
+ },
},
validateParams: (params) => {
if (typeof params.value !== 'number' || !Number.isFinite(params.value)) {
diff --git a/packages/core/src/test/wrap-in-schema-helpers.test.ts b/packages/core/src/test/wrap-in-schema-helpers.test.ts
index 3d00f1e452..c556f9166e 100644
--- a/packages/core/src/test/wrap-in-schema-helpers.test.ts
+++ b/packages/core/src/test/wrap-in-schema-helpers.test.ts
@@ -36,6 +36,7 @@ test('getFlatSchema(sequenceSchema) exposes every variant key', () => {
'postmountFor',
'styleWhilePremounted',
'styleWhilePostmounted',
+ 'durationInFrames',
].sort(),
);
});
@@ -59,7 +60,7 @@ test('selectActiveKeys returns only the hidden + layout keys when layout=none',
'style.scale': 2,
};
expect(selectActiveKeys(sequenceSchema, values).sort()).toEqual(
- ['hidden', 'layout'].sort(),
+ ['hidden', 'layout', 'durationInFrames'].sort(),
);
});
@@ -72,11 +73,13 @@ test('selectActiveKeys exposes style.* keys when layout=absolute-fill', () => {
[
'hidden',
'layout',
+ 'durationInFrames',
'style.translate',
'style.scale',
'style.rotate',
'style.opacity',
'premountFor',
+ 'postmountFor',
].sort(),
);
@@ -85,7 +88,7 @@ test('selectActiveKeys exposes style.* keys when layout=absolute-fill', () => {
'style.scale': 2,
};
expect(selectActiveKeys(sequenceSchema, values2).sort()).toEqual(
- ['hidden', 'layout'].sort(),
+ ['hidden', 'layout', 'durationInFrames'].sort(),
);
});
@@ -113,7 +116,9 @@ test('end-to-end: layout=none drops style.scale from active props', () => {
schemaKeys: activeKeys,
propsToDelete: new Set(),
});
- expect(activeKeys.sort()).toEqual(['hidden', 'layout'].sort());
+ expect(activeKeys.sort()).toEqual(
+ ['hidden', 'layout', 'durationInFrames'].sort(),
+ );
// style.scale was not in activeKeys β†’ original style preserved, not overwritten
expect((merged.style as {scale: number}).scale).toBe(2);
});
diff --git a/packages/core/src/use-media-in-timeline.ts b/packages/core/src/use-media-in-timeline.ts
index 37afac88a5..a2e9a95ac4 100644
--- a/packages/core/src/use-media-in-timeline.ts
+++ b/packages/core/src/use-media-in-timeline.ts
@@ -218,6 +218,7 @@ export const useMediaInTimeline = ({
controls: null,
effects: [],
refForOutline,
+ isInsideSeries: false,
});
return () => {
diff --git a/packages/docs/components/shapes/shapes-info.tsx b/packages/docs/components/shapes/shapes-info.tsx
index e05932cdb8..428780476d 100644
--- a/packages/docs/components/shapes/shapes-info.tsx
+++ b/packages/docs/components/shapes/shapes-info.tsx
@@ -38,22 +38,26 @@ export const shapeComponents: ShapeComponent[] = [
type: 'number',
description:
'The total length of the arrow along its direction axis. Default 300.',
+ hiddenFromList: false,
},
{
name: 'headWidth',
type: 'number',
description:
'The width of the arrowhead at its widest point. Default 185.',
+ hiddenFromList: false,
},
{
name: 'headLength',
type: 'number',
description: 'The length of the arrowhead portion. Default 120.',
+ hiddenFromList: false,
},
{
name: 'shaftWidth',
type: 'number',
description: 'The width of the arrow shaft. Default 80.',
+ hiddenFromList: false,
},
{
name: 'direction',
@@ -65,6 +69,7 @@ export const shapeComponents: ShapeComponent[] = [
type: 'number',
description:
"Rounds the corner using an arc. Similar to CSS's border-radius.",
+ hiddenFromList: false,
},
],
},
@@ -76,11 +81,13 @@ export const shapeComponents: ShapeComponent[] = [
name: 'width',
type: 'number',
description: 'The width of the rectangle.',
+ hiddenFromList: false,
},
{
name: 'height',
type: 'number',
description: 'The height of the rectangle.',
+ hiddenFromList: false,
},
],
},
@@ -92,6 +99,7 @@ export const shapeComponents: ShapeComponent[] = [
name: 'radius',
type: 'number',
description: 'The radius of the circle.',
+ hiddenFromList: false,
},
],
},
@@ -103,23 +111,27 @@ export const shapeComponents: ShapeComponent[] = [
name: 'height',
type: 'number',
description: 'The height of the heart.',
+ hiddenFromList: false,
},
{
name: 'aspectRatio',
type: 'number',
description: 'The aspect ratio of the heart. Default 1.1.',
+ hiddenFromList: false,
},
{
name: 'bottomRoundnessAdjustment',
type: 'number',
description:
'The amount of bottom roundness deviation from the default. Negative values make the bottom point sharper, positive values make it rounder.',
+ hiddenFromList: false,
},
{
name: 'depthAdjustment',
type: 'number',
description:
'The deviation of the default depth (how deep the top of the heart is). Negative values make the heart deeper, positive values make it shallower.',
+ hiddenFromList: false,
},
],
},
@@ -131,6 +143,7 @@ export const shapeComponents: ShapeComponent[] = [
name: 'radius',
type: 'number',
description: 'The radius of the circle.',
+ hiddenFromList: false,
},
{
name: 'progress',
@@ -141,6 +154,7 @@ export const shapeComponents: ShapeComponent[] = [
fully empty, <code>1</code> means fully filled.
</>
),
+ hiddenFromList: false,
},
{
name: 'counterClockwise',
@@ -167,6 +181,7 @@ export const shapeComponents: ShapeComponent[] = [
<code>Math.PI * 2</code> means 1 full clockwise rotation{' '}
</>
),
+ hiddenFromList: false,
},
],
},
@@ -178,11 +193,13 @@ export const shapeComponents: ShapeComponent[] = [
name: 'rx',
type: 'number',
description: 'The radius of the ellipse on the X axis.',
+ hiddenFromList: false,
},
{
name: 'ry',
type: 'number',
description: 'The radius of the ellipse on the Y axis.',
+ hiddenFromList: false,
},
],
},
@@ -194,6 +211,7 @@ export const shapeComponents: ShapeComponent[] = [
name: 'length',
type: 'number',
description: 'The length of one triangle side.',
+ hiddenFromList: false,
},
{
name: 'direction',
@@ -210,16 +228,19 @@ export const shapeComponents: ShapeComponent[] = [
name: 'points',
type: 'number',
description: 'The amount of points of the star.',
+ hiddenFromList: false,
},
{
name: 'innerRadius',
type: 'number',
description: 'The inner radius of the star.',
+ hiddenFromList: false,
},
{
name: 'outerRadius',
type: 'number',
description: 'The outer radius of the star.',
+ hiddenFromList: false,
},
],
},
@@ -231,11 +252,13 @@ export const shapeComponents: ShapeComponent[] = [
name: 'points',
type: 'number',
description: 'The number of points in the polygon.',
+ hiddenFromList: false,
},
{
name: 'radius',
type: 'number',
description: 'The radius of the polygon.',
+ hiddenFromList: false,
},
{
name: 'edgeRoundness',
@@ -248,6 +271,7 @@ export const shapeComponents: ShapeComponent[] = [
type: 'number',
description:
"Rounds the corner using an arc. Similar to CSS's border-radius. Cannot be used together with edgeRoundness.",
+ hiddenFromList: false,
},
],
},
diff --git a/packages/effects/src/barrel-distortion/index.ts b/packages/effects/src/barrel-distortion/index.ts
index 684d52d2bf..b7f04e20b8 100644
--- a/packages/effects/src/barrel-distortion/index.ts
+++ b/packages/effects/src/barrel-distortion/index.ts
@@ -24,6 +24,7 @@ const barrelDistortionSchema = {
step: 0.01,
default: DEFAULT_BARREL_DISTORTION_AMOUNT,
description: 'Amount',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
diff --git a/packages/effects/src/blur/index.ts b/packages/effects/src/blur/index.ts
index 46437d65aa..12d1f5ef79 100644
--- a/packages/effects/src/blur/index.ts
+++ b/packages/effects/src/blur/index.ts
@@ -41,6 +41,7 @@ const blurSchema = {
step: 1,
default: undefined,
description: 'Radius',
+ hiddenFromList: false,
},
horizontal: {
type: 'boolean',
diff --git a/packages/effects/src/chromatic-aberration/index.ts b/packages/effects/src/chromatic-aberration/index.ts
index b29b2963a2..4188b148ae 100644
--- a/packages/effects/src/chromatic-aberration/index.ts
+++ b/packages/effects/src/chromatic-aberration/index.ts
@@ -25,6 +25,7 @@ const chromaticAberrationSchema = {
step: 1,
default: DEFAULT_CHROMATIC_ABERRATION_AMOUNT,
description: 'Amount',
+ hiddenFromList: false,
},
angle: {
type: 'rotation-degrees',
diff --git a/packages/effects/src/color-key.ts b/packages/effects/src/color-key.ts
index a418ed52eb..5805db15b0 100644
--- a/packages/effects/src/color-key.ts
+++ b/packages/effects/src/color-key.ts
@@ -31,6 +31,7 @@ export const colorKeySchema = {
step: 0.01,
default: DEFAULT_SIMILARITY,
description: 'Similarity',
+ hiddenFromList: false,
},
smoothness: {
type: 'number',
@@ -39,6 +40,7 @@ export const colorKeySchema = {
step: 0.01,
default: DEFAULT_SMOOTHNESS,
description: 'Smoothness',
+ hiddenFromList: false,
},
spillSuppression: {
type: 'number',
@@ -47,6 +49,7 @@ export const colorKeySchema = {
step: 0.01,
default: DEFAULT_SPILL_SUPPRESSION,
description: 'Spill suppression',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
diff --git a/packages/effects/src/color-utils.ts b/packages/effects/src/color-utils.ts
index 46797868d4..c6676d8867 100644
--- a/packages/effects/src/color-utils.ts
+++ b/packages/effects/src/color-utils.ts
@@ -12,6 +12,7 @@ export const colorAmountSchema = {
step: 0.01,
default: DEFAULT_AMOUNT,
description: 'Amount',
+ hiddenFromList: false,
} as const satisfies SequenceSchema['amount'];
export const colorMultiplierSchema = {
@@ -20,6 +21,7 @@ export const colorMultiplierSchema = {
step: 0.01,
default: DEFAULT_AMOUNT,
description: 'Amount',
+ hiddenFromList: false,
} as const satisfies SequenceSchema['amount'];
export const brightnessAmountSchema = {
@@ -29,6 +31,7 @@ export const brightnessAmountSchema = {
step: 0.01,
default: DEFAULT_BRIGHTNESS_AMOUNT,
description: 'Amount',
+ hiddenFromList: false,
} as const satisfies SequenceSchema['amount'];
export const hueDegreesSchema = {
diff --git a/packages/effects/src/dot-grid.ts b/packages/effects/src/dot-grid.ts
index 28ace0c168..1e8ecd383d 100644
--- a/packages/effects/src/dot-grid.ts
+++ b/packages/effects/src/dot-grid.ts
@@ -20,6 +20,7 @@ export const dotGridSchema = {
step: 1,
default: DEFAULT_DOT_SIZE,
description: 'Dot size',
+ hiddenFromList: false,
},
gridSize: {
type: 'number',
@@ -28,6 +29,7 @@ export const dotGridSchema = {
step: 1,
default: DEFAULT_GRID_SIZE,
description: 'Grid size',
+ hiddenFromList: false,
},
invert: {
type: 'boolean',
diff --git a/packages/effects/src/drop-shadow/index.ts b/packages/effects/src/drop-shadow/index.ts
index a4e7cea5d7..8b10a35be4 100644
--- a/packages/effects/src/drop-shadow/index.ts
+++ b/packages/effects/src/drop-shadow/index.ts
@@ -33,18 +33,21 @@ const dropShadowSchema = {
step: 1,
default: DEFAULT_RADIUS,
description: 'Radius',
+ hiddenFromList: false,
},
offsetX: {
type: 'number',
step: 1,
default: DEFAULT_OFFSET_X,
description: 'Offset X',
+ hiddenFromList: false,
},
offsetY: {
type: 'number',
step: 1,
default: DEFAULT_OFFSET_Y,
description: 'Offset Y',
+ hiddenFromList: false,
},
opacity: {
type: 'number',
@@ -53,6 +56,7 @@ const dropShadowSchema = {
step: 0.01,
default: DEFAULT_OPACITY,
description: 'Opacity',
+ hiddenFromList: false,
},
color: {
type: 'color',
diff --git a/packages/effects/src/duotone.ts b/packages/effects/src/duotone.ts
index 76052406bb..54b74148cd 100644
--- a/packages/effects/src/duotone.ts
+++ b/packages/effects/src/duotone.ts
@@ -35,6 +35,7 @@ export const duotoneSchema = {
step: 0.01,
default: DEFAULT_LUMINANCE_THRESHOLD,
description: 'Luminance threshold',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
diff --git a/packages/effects/src/evolve.ts b/packages/effects/src/evolve.ts
index b5b91d3dfb..11ba7793fc 100644
--- a/packages/effects/src/evolve.ts
+++ b/packages/effects/src/evolve.ts
@@ -24,6 +24,7 @@ export const evolveSchema = {
step: 0.01,
default: DEFAULT_PROGRESS,
description: 'Progress',
+ hiddenFromList: false,
},
direction: {
type: 'enum',
@@ -43,6 +44,7 @@ export const evolveSchema = {
step: 0.01,
default: DEFAULT_FEATHER,
description: 'Feather',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
diff --git a/packages/effects/src/fisheye/index.ts b/packages/effects/src/fisheye/index.ts
index 0955453b12..558049ed12 100644
--- a/packages/effects/src/fisheye/index.ts
+++ b/packages/effects/src/fisheye/index.ts
@@ -30,6 +30,7 @@ const fisheyeSchema = {
step: 0.01,
default: DEFAULT_FISHEYE_FIELD_OF_VIEW,
description: 'Field of view',
+ hiddenFromList: false,
},
center: {
type: 'uv-coordinate',
@@ -46,6 +47,7 @@ const fisheyeSchema = {
step: 0.01,
default: DEFAULT_FISHEYE_RADIUS,
description: 'Radius',
+ hiddenFromList: false,
},
zoom: {
type: 'number',
@@ -54,6 +56,7 @@ const fisheyeSchema = {
step: 0.01,
default: DEFAULT_FISHEYE_ZOOM,
description: 'Zoom',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
diff --git a/packages/effects/src/glow/index.ts b/packages/effects/src/glow/index.ts
index ca1ff0748c..6b3d383cd8 100644
--- a/packages/effects/src/glow/index.ts
+++ b/packages/effects/src/glow/index.ts
@@ -32,6 +32,7 @@ const glowSchema = {
step: 1,
default: DEFAULT_RADIUS,
description: 'Radius',
+ hiddenFromList: false,
},
intensity: {
type: 'number',
@@ -40,6 +41,7 @@ const glowSchema = {
step: 0.1,
default: DEFAULT_INTENSITY,
description: 'Intensity',
+ hiddenFromList: false,
},
threshold: {
type: 'number',
@@ -48,6 +50,7 @@ const glowSchema = {
step: 0.01,
default: DEFAULT_THRESHOLD,
description: 'Threshold',
+ hiddenFromList: false,
},
color: {
type: 'color',
diff --git a/packages/effects/src/halftone-linear-gradient.ts b/packages/effects/src/halftone-linear-gradient.ts
index 2ca7ef69d6..08b1f561a5 100644
--- a/packages/effects/src/halftone-linear-gradient.ts
+++ b/packages/effects/src/halftone-linear-gradient.ts
@@ -29,6 +29,7 @@ export const halftoneLinearGradientSchema = {
step: 1,
default: DEFAULT_FIRST_STOP_DOT_SIZE,
description: 'First stop dot size',
+ hiddenFromList: false,
},
secondStopDotSize: {
type: 'number',
@@ -37,6 +38,7 @@ export const halftoneLinearGradientSchema = {
step: 1,
default: DEFAULT_SECOND_STOP_DOT_SIZE,
description: 'Second stop dot size',
+ hiddenFromList: false,
},
firstStopPosition: {
type: 'uv-coordinate',
@@ -61,6 +63,7 @@ export const halftoneLinearGradientSchema = {
step: 1,
default: DEFAULT_GRID_SIZE,
description: 'Grid size',
+ hiddenFromList: false,
},
colorMode: {
type: 'enum',
diff --git a/packages/effects/src/halftone.ts b/packages/effects/src/halftone.ts
index df37466cf3..0016175e5e 100644
--- a/packages/effects/src/halftone.ts
+++ b/packages/effects/src/halftone.ts
@@ -23,6 +23,7 @@ export const halftoneSchema = {
step: 1,
default: 20,
description: 'Dot size',
+ hiddenFromList: false,
},
dotSpacing: {
type: 'number',
@@ -31,6 +32,7 @@ export const halftoneSchema = {
step: 1,
default: 20,
description: 'Dot spacing',
+ hiddenFromList: false,
},
rotation: {
type: 'rotation-degrees',
@@ -43,12 +45,14 @@ export const halftoneSchema = {
step: 1,
default: 0,
description: 'Offset X',
+ hiddenFromList: false,
},
offsetY: {
type: 'number',
step: 1,
default: 0,
description: 'Offset Y',
+ hiddenFromList: false,
},
shape: {
type: 'enum',
diff --git a/packages/effects/src/lines.ts b/packages/effects/src/lines.ts
index 69684cadbd..334ecf2fbb 100644
--- a/packages/effects/src/lines.ts
+++ b/packages/effects/src/lines.ts
@@ -38,6 +38,7 @@ export const linesSchema = {
step: 0.1,
default: DEFAULT_THICKNESS,
description: 'Thickness',
+ hiddenFromList: false,
},
gap: {
type: 'number',
@@ -46,6 +47,7 @@ export const linesSchema = {
step: 0.1,
default: DEFAULT_GAP,
description: 'Gap',
+ hiddenFromList: false,
},
angle: {
type: 'rotation-degrees',
@@ -58,6 +60,7 @@ export const linesSchema = {
step: 0.1,
default: DEFAULT_OFFSET,
description: 'Offset',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
diff --git a/packages/effects/src/mirror/index.ts b/packages/effects/src/mirror/index.ts
index c458e0a226..56db3da79e 100644
--- a/packages/effects/src/mirror/index.ts
+++ b/packages/effects/src/mirror/index.ts
@@ -32,6 +32,7 @@ const mirrorSchema = {
step: 0.01,
default: 0.5,
description: 'Position',
+ hiddenFromList: false,
},
invert: {
type: 'boolean',
diff --git a/packages/effects/src/noise.ts b/packages/effects/src/noise.ts
index 7e2b6300c0..5d1fe6d60f 100644
--- a/packages/effects/src/noise.ts
+++ b/packages/effects/src/noise.ts
@@ -20,12 +20,14 @@ const noiseSchema = {
step: 0.01,
default: DEFAULT_AMOUNT,
description: 'Amount',
+ hiddenFromList: false,
},
seed: {
type: 'number',
step: 1,
default: DEFAULT_SEED,
description: 'Seed',
+ hiddenFromList: false,
},
premultiply: {
type: 'boolean',
diff --git a/packages/effects/src/pixel-dissolve.ts b/packages/effects/src/pixel-dissolve.ts
index 90d2e09011..4495c0a6e6 100644
--- a/packages/effects/src/pixel-dissolve.ts
+++ b/packages/effects/src/pixel-dissolve.ts
@@ -22,6 +22,7 @@ const pixelDissolveSchema = {
step: 0.01,
default: DEFAULT_PROGRESS,
description: 'Progress',
+ hiddenFromList: false,
},
columns: {
type: 'number',
@@ -30,6 +31,7 @@ const pixelDissolveSchema = {
step: 1,
default: DEFAULT_COLUMNS,
description: 'Columns',
+ hiddenFromList: false,
},
rows: {
type: 'number',
@@ -38,12 +40,14 @@ const pixelDissolveSchema = {
step: 1,
default: DEFAULT_ROWS,
description: 'Rows',
+ hiddenFromList: false,
},
seed: {
type: 'number',
step: 1,
default: DEFAULT_SEED,
description: 'Seed',
+ hiddenFromList: false,
},
feather: {
type: 'number',
@@ -52,6 +56,7 @@ const pixelDissolveSchema = {
step: 0.01,
default: DEFAULT_FEATHER,
description: 'Feather',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
diff --git a/packages/effects/src/rings.ts b/packages/effects/src/rings.ts
index ffbf1b87de..a1ad60dd29 100644
--- a/packages/effects/src/rings.ts
+++ b/packages/effects/src/rings.ts
@@ -35,6 +35,7 @@ export const ringsSchema = {
step: 0.1,
default: DEFAULT_THICKNESS,
description: 'Thickness',
+ hiddenFromList: false,
},
gap: {
type: 'number',
@@ -43,12 +44,14 @@ export const ringsSchema = {
step: 0.1,
default: DEFAULT_GAP,
description: 'Gap',
+ hiddenFromList: false,
},
offset: {
type: 'number',
step: 0.1,
default: DEFAULT_OFFSET,
description: 'Offset',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
diff --git a/packages/effects/src/scale/index.ts b/packages/effects/src/scale/index.ts
index 8dfb5d5214..78603c9318 100644
--- a/packages/effects/src/scale/index.ts
+++ b/packages/effects/src/scale/index.ts
@@ -15,6 +15,7 @@ const scaleSchema = {
step: 0.1,
default: 1,
description: 'Factor',
+ hiddenFromList: false,
},
horizontal: {
type: 'boolean',
diff --git a/packages/effects/src/scanlines.ts b/packages/effects/src/scanlines.ts
index 7745bee341..e96990f9bf 100644
--- a/packages/effects/src/scanlines.ts
+++ b/packages/effects/src/scanlines.ts
@@ -23,6 +23,7 @@ const scanlinesSchema = {
step: 0.01,
default: DEFAULT_AMOUNT,
description: 'Amount',
+ hiddenFromList: false,
},
spacing: {
type: 'number',
@@ -31,6 +32,7 @@ const scanlinesSchema = {
step: 0.1,
default: DEFAULT_SPACING,
description: 'Spacing',
+ hiddenFromList: false,
},
thickness: {
type: 'number',
@@ -39,12 +41,14 @@ const scanlinesSchema = {
step: 0.1,
default: DEFAULT_THICKNESS,
description: 'Thickness',
+ hiddenFromList: false,
},
offset: {
type: 'number',
step: 0.1,
default: DEFAULT_OFFSET,
description: 'Offset',
+ hiddenFromList: false,
},
premultiply: {
type: 'boolean',
diff --git a/packages/effects/src/shine.ts b/packages/effects/src/shine.ts
index ee45789e0f..f4abec22b8 100644
--- a/packages/effects/src/shine.ts
+++ b/packages/effects/src/shine.ts
@@ -23,6 +23,7 @@ const shineSchema = {
step: 0.01,
default: DEFAULT_PROGRESS,
description: 'Progress',
+ hiddenFromList: false,
},
angle: {
type: 'rotation-degrees',
@@ -37,6 +38,7 @@ const shineSchema = {
step: 1,
default: DEFAULT_HALO_SIGMA,
description: 'Halo sigma',
+ hiddenFromList: false,
},
coreSigma: {
type: 'number',
@@ -45,6 +47,7 @@ const shineSchema = {
step: 1,
default: DEFAULT_CORE_SIGMA,
description: 'Core sigma',
+ hiddenFromList: false,
},
haloIntensity: {
type: 'number',
@@ -53,6 +56,7 @@ const shineSchema = {
step: 0.01,
default: DEFAULT_HALO_INTENSITY,
description: 'Halo intensity',
+ hiddenFromList: false,
},
coreIntensity: {
type: 'number',
@@ -61,6 +65,7 @@ const shineSchema = {
step: 0.01,
default: DEFAULT_CORE_INTENSITY,
description: 'Core intensity',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
diff --git a/packages/effects/src/speckle.ts b/packages/effects/src/speckle.ts
index 2a941bf8fc..5e82d8a68f 100644
--- a/packages/effects/src/speckle.ts
+++ b/packages/effects/src/speckle.ts
@@ -21,6 +21,7 @@ const speckleSchema = {
step: 0.01,
default: DEFAULT_DENSITY,
description: 'Density',
+ hiddenFromList: false,
},
size: {
type: 'number',
@@ -29,6 +30,7 @@ const speckleSchema = {
step: 0.1,
default: DEFAULT_SIZE,
description: 'Size',
+ hiddenFromList: false,
},
randomness: {
type: 'number',
@@ -37,6 +39,7 @@ const speckleSchema = {
step: 0.01,
default: DEFAULT_RANDOMNESS,
description: 'Randomness',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
diff --git a/packages/effects/src/tint.ts b/packages/effects/src/tint.ts
index 7fb6b5d6ba..1de789a5cc 100644
--- a/packages/effects/src/tint.ts
+++ b/packages/effects/src/tint.ts
@@ -26,6 +26,7 @@ export const tintSchema = {
step: 0.01,
default: DEFAULT_AMOUNT,
description: 'Amount',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
diff --git a/packages/effects/src/translate/index.ts b/packages/effects/src/translate/index.ts
index cb5110a525..838af2367a 100644
--- a/packages/effects/src/translate/index.ts
+++ b/packages/effects/src/translate/index.ts
@@ -11,12 +11,14 @@ const xyTranslateSchema = {
step: 1,
default: 0,
description: 'X',
+ hiddenFromList: false,
},
y: {
type: 'number',
step: 1,
default: 0,
description: 'Y',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
@@ -26,12 +28,14 @@ const uvTranslateSchema = {
step: 0.01,
default: 0,
description: 'U',
+ hiddenFromList: false,
},
v: {
type: 'number',
step: 0.01,
default: 0,
description: 'V',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
diff --git a/packages/effects/src/vignette.ts b/packages/effects/src/vignette.ts
index defd861282..7f4825b26f 100644
--- a/packages/effects/src/vignette.ts
+++ b/packages/effects/src/vignette.ts
@@ -30,6 +30,7 @@ export const vignetteSchema = {
step: 0.01,
default: DEFAULT_AMOUNT,
description: 'Amount',
+ hiddenFromList: false,
},
radius: {
type: 'number',
@@ -38,6 +39,7 @@ export const vignetteSchema = {
step: 0.01,
default: DEFAULT_RADIUS,
description: 'Radius',
+ hiddenFromList: false,
},
feather: {
type: 'number',
@@ -46,6 +48,7 @@ export const vignetteSchema = {
step: 0.01,
default: DEFAULT_FEATHER,
description: 'Feather',
+ hiddenFromList: false,
},
roundness: {
type: 'number',
@@ -54,6 +57,7 @@ export const vignetteSchema = {
step: 0.01,
default: DEFAULT_ROUNDNESS,
description: 'Roundness',
+ hiddenFromList: false,
},
color: {
type: 'color',
diff --git a/packages/effects/src/wave/index.ts b/packages/effects/src/wave/index.ts
index de61563226..3551ffc0ef 100644
--- a/packages/effects/src/wave/index.ts
+++ b/packages/effects/src/wave/index.ts
@@ -20,6 +20,7 @@ const waveSchema = {
type: 'number',
default: 0,
description: 'Phase',
+ hiddenFromList: false,
},
direction: {
type: 'enum',
@@ -37,6 +38,7 @@ const waveSchema = {
step: 1,
default: 60,
description: 'Amplitude',
+ hiddenFromList: false,
},
wavelength: {
type: 'number',
@@ -45,6 +47,7 @@ const waveSchema = {
step: 1,
default: 240,
description: 'Wavelength',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
diff --git a/packages/effects/src/waves.ts b/packages/effects/src/waves.ts
index 9ca1ed1d23..b652715450 100644
--- a/packages/effects/src/waves.ts
+++ b/packages/effects/src/waves.ts
@@ -41,6 +41,7 @@ export const wavesSchema = {
step: 0.1,
default: DEFAULT_THICKNESS,
description: 'Thickness',
+ hiddenFromList: false,
},
gap: {
type: 'number',
@@ -49,6 +50,7 @@ export const wavesSchema = {
step: 0.1,
default: DEFAULT_GAP,
description: 'Gap',
+ hiddenFromList: false,
},
angle: {
type: 'rotation-degrees',
@@ -61,6 +63,7 @@ export const wavesSchema = {
step: 0.1,
default: DEFAULT_OFFSET,
description: 'Offset',
+ hiddenFromList: false,
},
amplitude: {
type: 'number',
@@ -69,6 +72,7 @@ export const wavesSchema = {
step: 0.1,
default: DEFAULT_AMPLITUDE,
description: 'Amplitude',
+ hiddenFromList: false,
},
wavelength: {
type: 'number',
@@ -77,6 +81,7 @@ export const wavesSchema = {
step: 1,
default: DEFAULT_WAVELENGTH,
description: 'Wavelength',
+ hiddenFromList: false,
},
phase: {
type: 'number',
@@ -85,6 +90,7 @@ export const wavesSchema = {
step: 1,
default: DEFAULT_PHASE,
description: 'Phase',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
diff --git a/packages/effects/src/white-noise.ts b/packages/effects/src/white-noise.ts
index 91704e3c17..904ca2c917 100644
--- a/packages/effects/src/white-noise.ts
+++ b/packages/effects/src/white-noise.ts
@@ -19,12 +19,14 @@ const whiteNoiseSchema = {
step: 0.01,
default: DEFAULT_AMOUNT,
description: 'Amount',
+ hiddenFromList: false,
},
seed: {
type: 'number',
step: 1,
default: DEFAULT_SEED,
description: 'Seed',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
diff --git a/packages/effects/src/zigzag.ts b/packages/effects/src/zigzag.ts
index 394bac449a..b69ab8569e 100644
--- a/packages/effects/src/zigzag.ts
+++ b/packages/effects/src/zigzag.ts
@@ -40,6 +40,7 @@ export const zigzagSchema = {
step: 0.1,
default: DEFAULT_THICKNESS,
description: 'Thickness',
+ hiddenFromList: false,
},
gap: {
type: 'number',
@@ -48,6 +49,7 @@ export const zigzagSchema = {
step: 0.1,
default: DEFAULT_GAP,
description: 'Gap',
+ hiddenFromList: false,
},
angle: {
type: 'rotation-degrees',
@@ -60,6 +62,7 @@ export const zigzagSchema = {
step: 0.1,
default: DEFAULT_OFFSET,
description: 'Offset',
+ hiddenFromList: false,
},
amplitude: {
type: 'number',
@@ -68,6 +71,7 @@ export const zigzagSchema = {
step: 0.1,
default: DEFAULT_AMPLITUDE,
description: 'Amplitude',
+ hiddenFromList: false,
},
wavelength: {
type: 'number',
@@ -76,6 +80,7 @@ export const zigzagSchema = {
step: 1,
default: DEFAULT_WAVELENGTH,
description: 'Wavelength',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
diff --git a/packages/gif/src/Gif.tsx b/packages/gif/src/Gif.tsx
index 264683af3a..92cc9da8cf 100644
--- a/packages/gif/src/Gif.tsx
+++ b/packages/gif/src/Gif.tsx
@@ -18,6 +18,7 @@ const {
useMemoizedEffectDefinitions,
useMemoizedEffects,
wrapInSchema,
+ durationInFramesField,
} = Internals;
export type GifProps = Omit<
@@ -34,6 +35,7 @@ export type GifProps = Omit<
* @see [Documentation](https://remotion.dev/docs/gif)
*/
const gifSchema = {
+ durationInFrames: durationInFramesField,
playbackRate: {
type: 'number',
min: 0,
@@ -41,6 +43,7 @@ const gifSchema = {
step: 0.1,
default: 1,
description: 'Playback Rate',
+ hiddenFromList: false,
},
...Internals.sequenceVisualStyleSchema,
hidden: Internals.hiddenField,
diff --git a/packages/light-leaks/src/LightLeak.tsx b/packages/light-leaks/src/LightLeak.tsx
index 872792cd61..5b70df7a4c 100644
--- a/packages/light-leaks/src/LightLeak.tsx
+++ b/packages/light-leaks/src/LightLeak.tsx
@@ -234,13 +234,20 @@ const LightLeakCanvas: React.FC<{
* @see [Documentation](https://www.remotion.dev/docs/light-leaks/light-leak)
*/
const lightLeakSchema = {
- seed: {type: 'number', default: 0, description: 'Seed'},
+ durationInFrames: Internals.durationInFramesField,
+ seed: {
+ type: 'number',
+ default: 0,
+ description: 'Seed',
+ hiddenFromList: false,
+ },
hueShift: {
type: 'number',
min: 0,
max: 360,
default: 0,
description: 'Hue Shift',
+ hiddenFromList: false,
},
...Internals.sequenceStyleSchema,
hidden: Internals.hiddenField,
diff --git a/packages/light-leaks/src/light-leak-internals.ts b/packages/light-leaks/src/light-leak-internals.ts
index 49bea3235a..be497edc53 100644
--- a/packages/light-leaks/src/light-leak-internals.ts
+++ b/packages/light-leaks/src/light-leak-internals.ts
@@ -8,13 +8,19 @@ const DEFAULT_HUE_SHIFT = 0 as const;
const DEFAULT_PROGRESS = 0.5 as const;
export const lightLeakEffectSchema = {
- seed: {type: 'number', default: DEFAULT_SEED, description: 'Seed'},
+ seed: {
+ type: 'number',
+ default: DEFAULT_SEED,
+ description: 'Seed',
+ hiddenFromList: false,
+ },
hueShift: {
type: 'number',
min: 0,
max: 360,
default: DEFAULT_HUE_SHIFT,
description: 'Hue Shift',
+ hiddenFromList: false,
},
progress: {
type: 'number',
@@ -23,6 +29,7 @@ export const lightLeakEffectSchema = {
step: 0.01,
default: DEFAULT_PROGRESS,
description: 'Progress',
+ hiddenFromList: false,
},
} as const satisfies SequenceSchema;
diff --git a/packages/media/src/audio/audio.tsx b/packages/media/src/audio/audio.tsx
index 8269a61e95..38f26d28d7 100644
--- a/packages/media/src/audio/audio.tsx
+++ b/packages/media/src/audio/audio.tsx
@@ -22,6 +22,7 @@ const audioSchema = {
step: 0.01,
default: 1,
description: 'Volume',
+ hiddenFromList: false,
},
playbackRate: {
type: 'number',
@@ -29,6 +30,7 @@ const audioSchema = {
step: 0.01,
default: 1,
description: 'Playback Rate',
+ hiddenFromList: false,
},
loop: {type: 'boolean', default: false, description: 'Loop'},
hidden: Internals.hiddenField,
diff --git a/packages/media/src/video/video.tsx b/packages/media/src/video/video.tsx
index 72aa153b5e..2066e8e622 100644
--- a/packages/media/src/video/video.tsx
+++ b/packages/media/src/video/video.tsx
@@ -23,6 +23,7 @@ const videoSchema = {
step: 0.01,
default: 1,
description: 'Volume',
+ hiddenFromList: false,
},
playbackRate: {
type: 'number',
@@ -30,6 +31,7 @@ const videoSchema = {
step: 0.01,
default: 1,
description: 'Playback Rate',
+ hiddenFromList: false,
},
hidden: {
type: 'boolean',
diff --git a/packages/rive/src/RemotionRiveCanvas.tsx b/packages/rive/src/RemotionRiveCanvas.tsx
index f4adb5e423..19bdf0b79d 100644
--- a/packages/rive/src/RemotionRiveCanvas.tsx
+++ b/packages/rive/src/RemotionRiveCanvas.tsx
@@ -36,6 +36,7 @@ import {mapToAlignment, mapToFit} from './map-enums.js';
const {
addSequenceStackTraces,
+ durationInFramesField,
hiddenField,
runEffectChain,
sequenceVisualStyleSchema,
@@ -103,6 +104,7 @@ const riveAlignmentVariants: Record<
};
const riveCanvasSchema = {
+ durationInFrames: durationInFramesField,
fit: {
type: 'enum',
default: 'contain',
diff --git a/packages/starburst/src/Starburst.tsx b/packages/starburst/src/Starburst.tsx
index 5d9735d86a..102e9c9447 100644
--- a/packages/starburst/src/Starburst.tsx
+++ b/packages/starburst/src/Starburst.tsx
@@ -275,6 +275,7 @@ const StarburstCanvas: React.FC<{
* @see [Documentation](https://www.remotion.dev/docs/starburst/starburst)
*/
const starburstSchema = {
+ durationInFrames: Internals.durationInFramesField,
rays: {
type: 'number',
min: 2,
@@ -282,6 +283,7 @@ const starburstSchema = {
step: 1,
default: 12,
description: 'Number of Rays',
+ hiddenFromList: false,
},
rotation: {
type: 'number',
@@ -290,6 +292,7 @@ const starburstSchema = {
step: 1,
default: 0,
description: 'Rotation',
+ hiddenFromList: false,
},
smoothness: {
type: 'number',
@@ -298,6 +301,7 @@ const starburstSchema = {
step: 0.01,
default: 0,
description: 'Edge Smoothness',
+ hiddenFromList: false,
},
vignette: {
type: 'number',
@@ -306,6 +310,7 @@ const starburstSchema = {
step: 0.01,
default: 1,
description: 'Vignette',
+ hiddenFromList: false,
},
originOffsetX: {
type: 'number',
@@ -314,6 +319,7 @@ const starburstSchema = {
step: 0.01,
default: 0,
description: 'Origin Offset X',
+ hiddenFromList: false,
},
originOffsetY: {
type: 'number',
@@ -322,6 +328,7 @@ const starburstSchema = {
step: 0.01,
default: 0,
description: 'Origin Offset Y',
+ hiddenFromList: false,
},
...Internals.sequenceStyleSchema,
hidden: Internals.hiddenField,
diff --git a/packages/starburst/src/starburst-effect.ts b/packages/starburst/src/starburst-effect.ts
index 14fc27c24c..2d9612b5fe 100644
--- a/packages/starburst/src/starburst-effect.ts
+++ b/packages/starburst/src/starburst-effect.ts
@@ -14,6 +14,7 @@ export const starburstEffectSchema = {
step: 1,
default: undefined,
description: 'Number of Rays',
+ hiddenFromList: false,
},
rotation: {
type: 'number',
@@ -22,6 +23,7 @@ export const starburstEffectSchema = {
step: 1,
default: 0,
description: 'Rotation',
+ hiddenFromList: false,
},
smoothness: {
type: 'number',
@@ -30,6 +32,7 @@ export const starburstEffectSchema = {
step: 0.01,
default: 0,
description: 'Edge Smoothness',
+ hiddenFromList: false,
},
origin: {
type: 'uv-coordinate',
diff --git a/packages/studio-server/src/test/get-all-schema-keys.test.ts b/packages/studio-server/src/test/get-all-schema-keys.test.ts
index 7f63de58b7..8a8272ba31 100644
--- a/packages/studio-server/src/test/get-all-schema-keys.test.ts
+++ b/packages/studio-server/src/test/get-all-schema-keys.test.ts
@@ -20,6 +20,7 @@ test('getAllSchemaKeys returns every key across all enum variants', () => {
'postmountFor',
'styleWhilePremounted',
'styleWhilePostmounted',
+ 'durationInFrames',
].sort(),
);
});
@@ -35,12 +36,14 @@ test('getFlatSchema throws when discriminated union variants share a key', () =>
shared: {
type: 'number',
default: 1,
+ hiddenFromList: false,
},
},
b: {
shared: {
type: 'number',
default: 2,
+ hiddenFromList: false,
},
},
},
diff --git a/packages/studio-server/src/test/update-effect-props.test.ts b/packages/studio-server/src/test/update-effect-props.test.ts
index 3689772795..020516ffbe 100644
--- a/packages/studio-server/src/test/update-effect-props.test.ts
+++ b/packages/studio-server/src/test/update-effect-props.test.ts
@@ -10,10 +10,12 @@ const tintSchema = {
opacity: {
type: 'number',
default: 1,
+ hiddenFromList: false,
},
amount: {
type: 'number',
default: 1,
+ hiddenFromList: false,
},
position: {
type: 'uv-coordinate',
@@ -174,6 +176,7 @@ test('updateEffectProps removes props from inactive enum variants', () => {
opacity: {
type: 'number',
default: 1,
+ hiddenFromList: false,
},
},
});
diff --git a/packages/studio-shared/src/schema-field-info.ts b/packages/studio-shared/src/schema-field-info.ts
index f7a24830ca..96c168f947 100644
--- a/packages/studio-shared/src/schema-field-info.ts
+++ b/packages/studio-shared/src/schema-field-info.ts
@@ -91,6 +91,10 @@ export const getFieldsToShow = ({
return null;
}
+ if (fieldSchema.type === 'number' && fieldSchema.hiddenFromList) {
+ return null;
+ }
+
// `hidden` is represented as the eye/speaker icon on the timeline track,
// so we don't render it as a regular field in the expanded section.
if (key === 'hidden') {
@@ -157,6 +161,10 @@ export const getEffectFieldsToShow = ({
return null;
}
+ if (fieldSchema.type === 'number' && fieldSchema.hiddenFromList) {
+ return null;
+ }
+
// `disabled` is represented as the eye icon on the effect timeline row,
// so we don't render it as a regular field in the expanded section.
if (key === 'disabled') {
diff --git a/packages/studio-shared/src/test/optimistic-update-for-effect-code-values.test.ts b/packages/studio-shared/src/test/optimistic-update-for-effect-code-values.test.ts
index 04d02aa39d..8e6f742fb2 100644
--- a/packages/studio-shared/src/test/optimistic-update-for-effect-code-values.test.ts
+++ b/packages/studio-shared/src/test/optimistic-update-for-effect-code-values.test.ts
@@ -25,7 +25,7 @@ test('optimisticUpdateForEffectCodeValues updates the matching effect prop', ()
effectIndex: 0,
fieldKey: 'opacity',
value: 0.8,
- schema: {opacity: {type: 'number', default: 1}},
+ schema: {opacity: {type: 'number', default: 1, hiddenFromList: false}},
});
if (!updated.canUpdate) {
@@ -60,7 +60,7 @@ test('optimisticUpdateForEffectCodeValues is a no-op when sequence is not update
effectIndex: 0,
fieldKey: 'opacity',
value: 0.8,
- schema: {opacity: {type: 'number', default: 1}},
+ schema: {opacity: {type: 'number', default: 1, hiddenFromList: false}},
});
expect(result).toBe(previous);
@@ -78,7 +78,7 @@ test('optimisticUpdateForEffectCodeValues is a no-op when effect index not found
effectIndex: 0,
fieldKey: 'opacity',
value: 0.8,
- schema: {opacity: {type: 'number', default: 1}},
+ schema: {opacity: {type: 'number', default: 1, hiddenFromList: false}},
});
expect(result).toBe(previous);
@@ -106,7 +106,7 @@ test('optimisticUpdateForEffectCodeValues applies when effect props are unset (z
effectIndex: 0,
fieldKey: 'amount',
value: 0.5,
- schema: {amount: {type: 'number', default: 1}},
+ schema: {amount: {type: 'number', default: 1, hiddenFromList: false}},
});
if (!updated.canUpdate) {
diff --git a/packages/studio/src/components/Splitter/SplitterContainer.tsx b/packages/studio/src/components/Splitter/SplitterContainer.tsx
index 5fbc019284..2cf8795797 100644
--- a/packages/studio/src/components/Splitter/SplitterContainer.tsx
+++ b/packages/studio/src/components/Splitter/SplitterContainer.tsx
@@ -1,4 +1,5 @@
-import React, {useMemo, useRef, useState} from 'react';
+import {PlayerInternals} from '@remotion/player';
+import React, {useEffect, useMemo, useRef, useState} from 'react';
import {useTimelineFlex} from '../../state/timeline';
import type {
SplitterDragState,
@@ -62,6 +63,16 @@ export const SplitterContainer: React.FC<{
ref,
]);
+ useEffect(() => {
+ const frame = requestAnimationFrame(() => {
+ PlayerInternals.updateAllElementsSizes();
+ });
+
+ return () => {
+ cancelAnimationFrame(frame);
+ };
+ });
+
return (
<SplitterContext.Provider value={value}>
<div
diff --git a/packages/studio/src/components/Splitter/SplitterHandle.tsx b/packages/studio/src/components/Splitter/SplitterHandle.tsx
index 50b99c86b9..2ea1766ad4 100644
--- a/packages/studio/src/components/Splitter/SplitterHandle.tsx
+++ b/packages/studio/src/components/Splitter/SplitterHandle.tsx
@@ -1,5 +1,5 @@
import {PlayerInternals} from '@remotion/player';
-import React, {useContext, useEffect, useRef, useState} from 'react';
+import React, {useContext, useEffect, useRef} from 'react';
import {
forceSpecificCursor,
stopForcingSpecificCursor,
@@ -25,122 +25,114 @@ export const SplitterHandle: React.FC<{
throw new Error('Cannot find splitter context');
}
- const [lastPointerUp, setLastPointerUp] = useState(() => Date.now());
const ref = useRef<HTMLDivElement>(null);
- useEffect(() => {
- if (context.isDragging.current) {
- return;
- }
+ // Keep the latest props/context readable inside the long-lived pointerdown
+ // listener without re-subscribing it on every render.
+ const latest = useRef({context, allowToCollapse, onCollapse});
+ latest.current = {context, allowToCollapse, onCollapse};
+ useEffect(() => {
const {current} = ref;
if (!current) {
return;
}
- const getNewValue = (e: PointerEvent, clamp: boolean) => {
- if (!context.isDragging.current) {
- throw new Error('cannot get value if not dragging');
- }
+ // Cleanup for the listeners that only exist for the duration of a drag.
+ let endDrag: (() => void) | null = null;
- if (!context.ref.current) {
- throw new Error('domRect is not mounted');
+ const onPointerDown = (e: PointerEvent) => {
+ if (e.button !== 0) {
+ return;
}
- const {width, height} = context.ref.current.getBoundingClientRect();
- const change = (() => {
- if (context.orientation === 'vertical') {
- return (
- (e.clientX - context.isDragging.current.x) /
- (width - SPLITTER_HANDLE_SIZE)
- );
- }
+ // Capture the context and starting flex once, at drag start. The flex
+ // value updates on every pointermove, so it must not be re-read live.
+ const dragContext = latest.current.context;
+ const start = {x: e.clientX, y: e.clientY};
+ const startFlex = dragContext.flexValue;
- return (
- (e.clientY - context.isDragging.current.y) /
- (height - SPLITTER_HANDLE_SIZE)
- );
- })();
+ dragContext.isDragging.current = start;
+ forceSpecificCursor(
+ dragContext.orientation === 'horizontal' ? 'row-resize' : 'col-resize',
+ );
+ current.classList.add('remotion-splitter-active');
- const newFlex = context.flexValue + change;
- if (clamp) {
- return Math.min(context.maxFlex, Math.max(context.minFlex, newFlex));
- }
+ const getNewValue = (ev: PointerEvent, clamp: boolean) => {
+ if (!dragContext.ref.current) {
+ throw new Error('domRect is not mounted');
+ }
- return newFlex;
- };
+ const {width, height} = dragContext.ref.current.getBoundingClientRect();
+ const change =
+ dragContext.orientation === 'vertical'
+ ? (ev.clientX - start.x) / (width - SPLITTER_HANDLE_SIZE)
+ : (ev.clientY - start.y) / (height - SPLITTER_HANDLE_SIZE);
+
+ const newFlex = startFlex + change;
+ if (clamp) {
+ return Math.min(
+ dragContext.maxFlex,
+ Math.max(dragContext.minFlex, newFlex),
+ );
+ }
- const onPointerDown = (e: PointerEvent) => {
- if (e.button !== 0) {
- return;
- }
+ return newFlex;
+ };
- context.isDragging.current = {
- x: e.clientX,
- y: e.clientY,
+ endDrag = () => {
+ dragContext.isDragging.current = false;
+ stopForcingSpecificCursor();
+ current.classList.remove('remotion-splitter-active');
+ window.removeEventListener('pointermove', onPointerMove);
+ window.removeEventListener('pointerup', onPointerUp);
+ endDrag = null;
+ PlayerInternals.updateAllElementsSizes();
};
- forceSpecificCursor(
- context.orientation === 'horizontal' ? 'row-resize' : 'col-resize',
- );
- ref.current?.classList.add('remotion-splitter-active');
- window.addEventListener(
- 'pointerup',
- (ev: PointerEvent) => {
- if (!context.isDragging.current) {
- return;
- }
- context.persistFlex(getNewValue(ev, true));
- cleanup();
- setLastPointerUp(Date.now());
- },
- {once: true},
- );
- window.addEventListener('pointermove', onPointerMove);
- };
+ const onPointerMove = (ev: PointerEvent) => {
+ if (!dragContext.isDragging.current) {
+ return;
+ }
- const onPointerMove = (e: PointerEvent) => {
- if (context.isDragging.current) {
- const val = getNewValue(e, true);
- context.setFlexValue(val);
- if (allowToCollapse === 'left') {
- const unclamped = getNewValue(e, false);
- if (unclamped < context.minFlex / 2) {
- cleanup();
- onCollapse();
- setLastPointerUp(Date.now());
+ dragContext.setFlexValue(getNewValue(ev, true));
+
+ const collapse = latest.current.allowToCollapse;
+ if (collapse === 'left') {
+ const unclamped = getNewValue(ev, false);
+ if (unclamped < dragContext.minFlex / 2) {
+ endDrag?.();
+ latest.current.onCollapse();
+ }
+ } else if (collapse === 'right') {
+ const unclamped = 1 - getNewValue(ev, false);
+ if (unclamped < (1 - dragContext.maxFlex) / 2) {
+ endDrag?.();
+ latest.current.onCollapse();
}
}
+ };
- if (allowToCollapse === 'right') {
- const unclamped = 1 - getNewValue(e, false);
- if (unclamped < (1 - context.maxFlex) / 2) {
- cleanup();
- onCollapse();
- setLastPointerUp(Date.now());
- }
+ const onPointerUp = (ev: PointerEvent) => {
+ if (!dragContext.isDragging.current) {
+ return;
}
- }
- };
- const cleanup = () => {
- context.isDragging.current = false;
- stopForcingSpecificCursor();
- ref.current?.classList.remove('remotion-splitter-active');
+ dragContext.persistFlex(getNewValue(ev, true));
+ endDrag?.();
+ };
- current.removeEventListener('pointerdown', onPointerDown);
- window.removeEventListener('pointermove', onPointerMove);
- PlayerInternals.updateAllElementsSizes();
+ window.addEventListener('pointermove', onPointerMove);
+ window.addEventListener('pointerup', onPointerUp);
};
current.addEventListener('pointerdown', onPointerDown);
return () => {
- if (!context.isDragging.current) {
- cleanup();
- }
+ current.removeEventListener('pointerdown', onPointerDown);
+ endDrag?.();
};
- }, [allowToCollapse, context, context.flexValue, lastPointerUp, onCollapse]);
+ }, []);
useEffect(() => {
const {current} = ref;
diff --git a/packages/studio/src/components/Timeline/TimelineSequence.tsx b/packages/studio/src/components/Timeline/TimelineSequence.tsx
index f5182a7924..77ed948e0e 100644
--- a/packages/studio/src/components/Timeline/TimelineSequence.tsx
+++ b/packages/studio/src/components/Timeline/TimelineSequence.tsx
@@ -17,8 +17,10 @@ import {LoopedTimelineIndicator} from './LoopedTimelineIndicators';
import {TimelineImageInfo} from './TimelineImageInfo';
import {TIMELINE_TOP_DRAG, useTimelineRowSelection} from './TimelineSelection';
import {TimelineSequenceFrame} from './TimelineSequenceFrame';
+import {TimelineSequenceRightEdgeDragHandle} from './TimelineSequenceRightEdgeDragHandle';
import {TimelineVideoInfo} from './TimelineVideoInfo';
import {TimelineWidthContext} from './TimelineWidthProvider';
+import {useResolveStackAndReactToChange} from './use-resolved-stack-react-to-change';
const AUDIO_GRADIENT = 'linear-gradient(rgb(16 171 58), rgb(43 165 63) 60%)';
const VIDEO_GRADIENT = 'linear-gradient(to top, #8e44ad, #9b59b6)';
@@ -181,6 +183,34 @@ const TimelineSequenceInner: React.FC<{
const maxMediaDuration = useMaxMediaDuration(s, video?.fps ?? 30);
const effectiveMaxMediaDuration = s.loopDisplay ? null : maxMediaDuration;
+ const originalLocation = useResolveStackAndReactToChange(s.getStack);
+ const validatedLocation = useMemo(() => {
+ if (
+ !originalLocation ||
+ !originalLocation.source ||
+ !originalLocation.line
+ ) {
+ return null;
+ }
+
+ return {
+ source: originalLocation.source,
+ line: originalLocation.line,
+ column: originalLocation.column ?? 0,
+ };
+ }, [originalLocation]);
+
+ const {codeValues} = useContext(Internals.VisualModeCodeValuesContext);
+ const nodePath = nodePathInfo?.sequenceSubscriptionKey ?? null;
+ const codeValuesForOverride = useMemo(() => {
+ return nodePath
+ ? Internals.getCodeValuesCtx(codeValues, nodePath)
+ : undefined;
+ }, [codeValues, nodePath]);
+ const durationCanUpdate = Boolean(
+ codeValuesForOverride?.durationInFrames?.canUpdate,
+ );
+
if (!video) {
throw new TypeError('Expected video config');
}
@@ -231,6 +261,15 @@ const TimelineSequenceInner: React.FC<{
};
}, [marginLeft, s.type, width]);
+ const showRightEdgeDragHandle =
+ TIMELINE_TOP_DRAG &&
+ (s.type === 'sequence' || s.type === 'image') &&
+ !s.loopDisplay &&
+ !s.isInsideSeries &&
+ nodePath !== null &&
+ validatedLocation !== null &&
+ durationCanUpdate;
+
if (maxMediaDuration === null && !s.loopDisplay) {
return null;
}
@@ -278,6 +317,15 @@ const TimelineSequenceInner: React.FC<{
{s.loopDisplay === undefined ? null : (
<LoopedTimelineIndicator loops={s.loopDisplay.numberOfTimes} />
)}
+ {showRightEdgeDragHandle && nodePath && validatedLocation ? (
+ <TimelineSequenceRightEdgeDragHandle
+ nodePath={nodePath}
+ validatedLocation={validatedLocation}
+ currentDurationInFrames={s.duration}
+ windowWidth={windowWidth}
+ timelineDurationInFrames={video.durationInFrames ?? 1}
+ />
+ ) : null}
</TimelineSequenceCurrentFrame>
);
};
diff --git a/packages/studio/src/components/Timeline/TimelineSequenceRightEdgeDragHandle.tsx b/packages/studio/src/components/Timeline/TimelineSequenceRightEdgeDragHandle.tsx
new file mode 100644
index 0000000000..c84767411f
--- /dev/null
+++ b/packages/studio/src/components/Timeline/TimelineSequenceRightEdgeDragHandle.tsx
@@ -0,0 +1,239 @@
+import React, {
+ useCallback,
+ useContext,
+ useEffect,
+ useRef,
+ useState,
+} from 'react';
+import type {SequencePropsSubscriptionKey} from 'remotion';
+import {Internals} from 'remotion';
+import {NoReactInternals} from 'remotion/no-react';
+import type {CodePosition} from '../../error-overlay/react-overlay/utils/get-source-map';
+import {StudioServerConnectionCtx} from '../../helpers/client-id';
+import {TIMELINE_PADDING} from '../../helpers/timeline-layout';
+import {
+ forceSpecificCursor,
+ stopForcingSpecificCursor,
+} from '../ForceSpecificCursor';
+import {saveSequenceProp} from './save-sequence-prop';
+
+const HANDLE_WIDTH = 6;
+
+const baseStyle: React.CSSProperties = {
+ position: 'absolute',
+ top: 0,
+ bottom: 0,
+ width: HANDLE_WIDTH,
+ cursor: 'ew-resize',
+ zIndex: 1,
+ touchAction: 'none',
+};
+
+export const TimelineSequenceRightEdgeDragHandle: React.FC<{
+ readonly nodePath: SequencePropsSubscriptionKey;
+ readonly validatedLocation: CodePosition;
+ readonly currentDurationInFrames: number;
+ readonly windowWidth: number;
+ readonly timelineDurationInFrames: number;
+}> = ({
+ nodePath,
+ validatedLocation,
+ currentDurationInFrames,
+ windowWidth,
+ timelineDurationInFrames,
+}) => {
+ const {setCodeValues, setDragOverrides, clearDragOverrides} = useContext(
+ Internals.VisualModeSettersContext,
+ );
+ const {previewServerState} = useContext(StudioServerConnectionCtx);
+
+ const [dragging, setDragging] = useState(false);
+ const dragStateRef = useRef<{
+ initialClientX: number;
+ initialDuration: number;
+ pxPerFrame: number;
+ latestValue: number;
+ pointerId: number;
+ } | null>(null);
+
+ // Keep latest props/setters available to window listeners installed once at pointerdown.
+ const latestRef = useRef({
+ nodePath,
+ validatedLocation,
+ setCodeValues,
+ setDragOverrides,
+ clearDragOverrides,
+ previewServerState,
+ });
+ latestRef.current = {
+ nodePath,
+ validatedLocation,
+ setCodeValues,
+ setDragOverrides,
+ clearDragOverrides,
+ previewServerState,
+ };
+
+ const finishDrag = useCallback((commit: boolean) => {
+ const dragState = dragStateRef.current;
+ dragStateRef.current = null;
+ document.body.style.userSelect = '';
+ document.body.style.webkitUserSelect = '';
+ stopForcingSpecificCursor();
+ setDragging(false);
+
+ if (!dragState) {
+ return;
+ }
+
+ const {
+ nodePath: latestNodePath,
+ validatedLocation: latestLocation,
+ setCodeValues: latestSetCodeValues,
+ clearDragOverrides: latestClear,
+ previewServerState: latestServerState,
+ } = latestRef.current;
+
+ const shouldCommit =
+ commit &&
+ latestServerState.type === 'connected' &&
+ dragState.latestValue !== dragState.initialDuration;
+
+ if (!shouldCommit) {
+ latestClear(latestNodePath);
+ return;
+ }
+
+ saveSequenceProp({
+ fileName: latestLocation.source,
+ nodePath: latestNodePath,
+ fieldKey: 'durationInFrames',
+ value: dragState.latestValue,
+ defaultValue: null,
+ schema: NoReactInternals.sequenceSchema,
+ setCodeValues: latestSetCodeValues,
+ clientId:
+ latestServerState.type === 'connected'
+ ? latestServerState.clientId
+ : '',
+ })
+ .catch((err) => {
+ Internals.Log.error(
+ {logLevel: 'error', tag: null},
+ 'Could not save durationInFrames',
+ err,
+ );
+ })
+ .finally(() => {
+ latestClear(latestNodePath);
+ });
+ }, []);
+
+ const onPointerDown = useCallback(
+ (e: React.PointerEvent<HTMLDivElement>) => {
+ if (e.button !== 0) {
+ return;
+ }
+
+ const pxPerFrame =
+ timelineDurationInFrames > 0
+ ? (windowWidth - TIMELINE_PADDING * 2) / timelineDurationInFrames
+ : 0;
+ if (pxPerFrame <= 0) {
+ return;
+ }
+
+ e.stopPropagation();
+ e.preventDefault();
+ dragStateRef.current = {
+ initialClientX: e.clientX,
+ initialDuration: currentDurationInFrames,
+ pxPerFrame,
+ latestValue: currentDurationInFrames,
+ pointerId: e.pointerId,
+ };
+ document.body.style.userSelect = 'none';
+ document.body.style.webkitUserSelect = 'none';
+ forceSpecificCursor('ew-resize');
+ setDragging(true);
+ },
+ [currentDurationInFrames, timelineDurationInFrames, windowWidth],
+ );
+
+ // Install global pointer listeners while dragging. They survive parent re-renders
+ // and element remounts that would otherwise drop React's synthetic handlers or
+ // pointer capture.
+ useEffect(() => {
+ if (!dragging) {
+ return;
+ }
+
+ const onMove = (e: PointerEvent) => {
+ const dragState = dragStateRef.current;
+ if (!dragState || e.pointerId !== dragState.pointerId) {
+ return;
+ }
+
+ const dx = e.clientX - dragState.initialClientX;
+ const deltaFrames = Math.round(dx / dragState.pxPerFrame);
+ const next = Math.max(1, dragState.initialDuration + deltaFrames);
+ dragState.latestValue = next;
+ latestRef.current.setDragOverrides(
+ latestRef.current.nodePath,
+ 'durationInFrames',
+ next,
+ );
+ };
+
+ const onUp = (e: PointerEvent) => {
+ const dragState = dragStateRef.current;
+ if (!dragState || e.pointerId !== dragState.pointerId) {
+ return;
+ }
+
+ finishDrag(true);
+ };
+
+ const onCancel = (e: PointerEvent) => {
+ const dragState = dragStateRef.current;
+ if (!dragState || e.pointerId !== dragState.pointerId) {
+ return;
+ }
+
+ finishDrag(false);
+ };
+
+ // Bail if the page loses focus mid-drag.
+ const onWindowBlur = () => {
+ finishDrag(false);
+ };
+
+ window.addEventListener('pointermove', onMove);
+ window.addEventListener('pointerup', onUp);
+ window.addEventListener('pointercancel', onCancel);
+ window.addEventListener('blur', onWindowBlur);
+
+ return () => {
+ window.removeEventListener('pointermove', onMove);
+ window.removeEventListener('pointerup', onUp);
+ window.removeEventListener('pointercancel', onCancel);
+ window.removeEventListener('blur', onWindowBlur);
+ };
+ }, [dragging, finishDrag]);
+
+ const style: React.CSSProperties = {
+ ...baseStyle,
+ right: 0,
+ background: 'transparent',
+ };
+
+ return (
+ <div
+ role="separator"
+ aria-orientation="vertical"
+ title="Drag to change duration"
+ style={style}
+ onPointerDown={onPointerDown}
+ />
+ );
+};
diff --git a/packages/studio/src/test/big-timeline.test.ts b/packages/studio/src/test/big-timeline.test.ts
index f469086d06..832eb64871 100644
--- a/packages/studio/src/test/big-timeline.test.ts
+++ b/packages/studio/src/test/big-timeline.test.ts
@@ -40,6 +40,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 60]],
startMediaFrom: 0,
doesVolumeChange: false,
@@ -67,6 +68,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 61]],
loopDisplay: undefined,
effects: [],
@@ -91,6 +93,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 62]],
loopDisplay: undefined,
effects: [],
@@ -118,6 +121,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 256]],
startMediaFrom: 0,
doesVolumeChange: false,
@@ -148,6 +152,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 257]],
startMediaFrom: 0,
doesVolumeChange: false,
@@ -175,6 +180,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: false,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 259]],
loopDisplay: undefined,
effects: [],
@@ -202,6 +208,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 258]],
startMediaFrom: 60,
doesVolumeChange: false,
@@ -229,6 +236,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: false,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 261]],
loopDisplay: undefined,
effects: [],
@@ -256,6 +264,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 260]],
startMediaFrom: 120,
doesVolumeChange: false,
@@ -283,6 +292,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: false,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 263]],
loopDisplay: undefined,
effects: [],
@@ -310,6 +320,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 262]],
startMediaFrom: 180,
doesVolumeChange: false,
@@ -337,6 +348,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 63]],
loopDisplay: undefined,
effects: [],
@@ -361,6 +373,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 64]],
loopDisplay: undefined,
effects: [],
@@ -385,6 +398,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 65]],
loopDisplay: undefined,
effects: [],
@@ -409,6 +423,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 66]],
loopDisplay: undefined,
effects: [],
@@ -433,6 +448,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 67]],
loopDisplay: undefined,
effects: [],
@@ -457,6 +473,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 68]],
loopDisplay: undefined,
effects: [],
@@ -481,6 +498,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 69]],
loopDisplay: undefined,
effects: [],
@@ -505,6 +523,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 70]],
loopDisplay: undefined,
effects: [],
@@ -529,6 +548,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 71]],
loopDisplay: undefined,
effects: [],
@@ -553,6 +573,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: false,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 358]],
loopDisplay: undefined,
effects: [],
@@ -580,6 +601,7 @@ test('Should calculate timeline as expected', () => {
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
nonce: [[0, 357]],
startMediaFrom: 10,
doesVolumeChange: true,
@@ -612,6 +634,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 60]],
@@ -634,6 +657,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 61]],
@@ -653,6 +677,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 62]],
@@ -672,6 +697,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 63]],
@@ -691,6 +717,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 64]],
@@ -710,6 +737,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 65]],
@@ -729,6 +757,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 66]],
@@ -748,6 +777,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 67]],
@@ -767,6 +797,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 68]],
@@ -786,6 +817,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 69]],
@@ -805,6 +837,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 70]],
@@ -824,6 +857,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 71]],
@@ -846,6 +880,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 72]],
@@ -868,6 +903,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 73]],
@@ -887,6 +923,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 74]],
@@ -906,6 +943,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 75]],
@@ -925,6 +963,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 76]],
@@ -944,6 +983,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 77]],
@@ -963,6 +1003,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 78]],
@@ -982,6 +1023,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 79]],
@@ -1001,6 +1043,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 80]],
@@ -1020,6 +1063,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 81]],
@@ -1039,6 +1083,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 82]],
@@ -1058,6 +1103,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 83]],
@@ -1080,6 +1126,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 242]],
@@ -1102,6 +1149,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 243]],
@@ -1121,6 +1169,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 244]],
@@ -1140,6 +1189,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 245]],
@@ -1159,6 +1209,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 246]],
@@ -1178,6 +1229,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 247]],
@@ -1197,6 +1249,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 248]],
@@ -1216,6 +1269,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 249]],
@@ -1235,6 +1289,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 250]],
@@ -1254,6 +1309,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 251]],
@@ -1273,6 +1329,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 252]],
@@ -1292,6 +1349,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 253]],
@@ -1314,6 +1372,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 254]],
@@ -1336,6 +1395,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 255]],
@@ -1358,6 +1418,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 256]],
@@ -1383,6 +1444,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 257]],
@@ -1408,6 +1470,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 258]],
@@ -1430,6 +1493,7 @@ const sequences: TSequence[] = [
showInTimeline: false,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 259]],
@@ -1452,6 +1516,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 260]],
@@ -1474,6 +1539,7 @@ const sequences: TSequence[] = [
showInTimeline: false,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 261]],
@@ -1496,6 +1562,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 262]],
@@ -1518,6 +1585,7 @@ const sequences: TSequence[] = [
showInTimeline: false,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 263]],
@@ -1537,6 +1605,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 264]],
@@ -1556,6 +1625,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 265]],
@@ -1575,6 +1645,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 266]],
@@ -1594,6 +1665,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 267]],
@@ -1613,6 +1685,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 268]],
@@ -1632,6 +1705,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 269]],
@@ -1651,6 +1725,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 270]],
@@ -1670,6 +1745,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 271]],
@@ -1689,6 +1765,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 272]],
@@ -1708,6 +1785,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 273]],
@@ -1730,6 +1808,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 274]],
@@ -1752,6 +1831,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 275]],
@@ -1771,6 +1851,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 276]],
@@ -1790,6 +1871,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 277]],
@@ -1809,6 +1891,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 278]],
@@ -1828,6 +1911,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 279]],
@@ -1847,6 +1931,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 280]],
@@ -1866,6 +1951,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 281]],
@@ -1885,6 +1971,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 282]],
@@ -1904,6 +1991,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 283]],
@@ -1923,6 +2011,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 284]],
@@ -1942,6 +2031,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 285]],
@@ -1964,6 +2054,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 286]],
@@ -1986,6 +2077,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 287]],
@@ -2005,6 +2097,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 288]],
@@ -2024,6 +2117,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 289]],
@@ -2043,6 +2137,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 290]],
@@ -2062,6 +2157,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 291]],
@@ -2081,6 +2177,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 292]],
@@ -2100,6 +2197,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 293]],
@@ -2119,6 +2217,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 294]],
@@ -2138,6 +2237,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 295]],
@@ -2157,6 +2257,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 296]],
@@ -2176,6 +2277,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 297]],
@@ -2198,6 +2300,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 298]],
@@ -2220,6 +2323,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 299]],
@@ -2239,6 +2343,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 300]],
@@ -2258,6 +2363,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 301]],
@@ -2277,6 +2383,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 302]],
@@ -2296,6 +2403,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 303]],
@@ -2315,6 +2423,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 304]],
@@ -2334,6 +2443,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 305]],
@@ -2353,6 +2463,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 306]],
@@ -2372,6 +2483,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 307]],
@@ -2391,6 +2503,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 308]],
@@ -2410,6 +2523,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 309]],
@@ -2432,6 +2546,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 310]],
@@ -2454,6 +2569,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 311]],
@@ -2473,6 +2589,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 312]],
@@ -2492,6 +2609,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 313]],
@@ -2511,6 +2629,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 314]],
@@ -2530,6 +2649,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 315]],
@@ -2549,6 +2669,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 316]],
@@ -2568,6 +2689,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 317]],
@@ -2587,6 +2709,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 318]],
@@ -2606,6 +2729,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 319]],
@@ -2625,6 +2749,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 320]],
@@ -2644,6 +2769,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 321]],
@@ -2666,6 +2792,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 322]],
@@ -2688,6 +2815,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 323]],
@@ -2707,6 +2835,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 324]],
@@ -2726,6 +2855,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 325]],
@@ -2745,6 +2875,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 326]],
@@ -2764,6 +2895,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 327]],
@@ -2783,6 +2915,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 328]],
@@ -2802,6 +2935,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 329]],
@@ -2821,6 +2955,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 330]],
@@ -2840,6 +2975,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 331]],
@@ -2859,6 +2995,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 332]],
@@ -2878,6 +3015,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 333]],
@@ -2900,6 +3038,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 334]],
@@ -2922,6 +3061,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 335]],
@@ -2941,6 +3081,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 336]],
@@ -2960,6 +3101,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 337]],
@@ -2979,6 +3121,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 338]],
@@ -2998,6 +3141,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 339]],
@@ -3017,6 +3161,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 340]],
@@ -3036,6 +3181,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 341]],
@@ -3055,6 +3201,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 342]],
@@ -3074,6 +3221,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 343]],
@@ -3093,6 +3241,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 344]],
@@ -3112,6 +3261,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 345]],
@@ -3134,6 +3284,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 346]],
@@ -3156,6 +3307,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 347]],
@@ -3175,6 +3327,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 348]],
@@ -3194,6 +3347,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 349]],
@@ -3213,6 +3367,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 350]],
@@ -3232,6 +3387,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 351]],
@@ -3251,6 +3407,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 352]],
@@ -3270,6 +3427,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 353]],
@@ -3289,6 +3447,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 354]],
@@ -3308,6 +3467,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 355]],
@@ -3327,6 +3487,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 356]],
@@ -3349,6 +3510,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 357]],
@@ -3371,6 +3533,7 @@ const sequences: TSequence[] = [
showInTimeline: false,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 358]],
@@ -3390,6 +3553,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 359]],
@@ -3412,6 +3576,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 360]],
@@ -3434,6 +3599,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 361]],
@@ -3453,6 +3619,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 362]],
@@ -3472,6 +3639,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 363]],
@@ -3491,6 +3659,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 364]],
@@ -3510,6 +3679,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 365]],
@@ -3529,6 +3699,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 366]],
@@ -3548,6 +3719,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 367]],
@@ -3567,6 +3739,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 368]],
@@ -3586,6 +3759,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 369]],
@@ -3605,6 +3779,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 370]],
@@ -3627,6 +3802,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 371]],
@@ -3649,6 +3825,7 @@ const sequences: TSequence[] = [
showInTimeline: false,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 372]],
@@ -3668,6 +3845,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 373]],
@@ -3690,6 +3868,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 374]],
@@ -3712,6 +3891,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 375]],
@@ -3731,6 +3911,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 376]],
@@ -3750,6 +3931,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 377]],
@@ -3769,6 +3951,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 378]],
@@ -3788,6 +3971,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 379]],
@@ -3807,6 +3991,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 380]],
@@ -3826,6 +4011,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 381]],
@@ -3845,6 +4031,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 382]],
@@ -3864,6 +4051,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 383]],
@@ -3883,6 +4071,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 384]],
@@ -3905,6 +4094,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 385]],
@@ -3927,6 +4117,7 @@ const sequences: TSequence[] = [
showInTimeline: false,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 386]],
@@ -3946,6 +4137,7 @@ const sequences: TSequence[] = [
showInTimeline: true,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
nonce: [[0, 387]],
diff --git a/packages/studio/src/test/sequenced-timeline.test.ts b/packages/studio/src/test/sequenced-timeline.test.ts
index 3418900b1e..b984776fcd 100644
--- a/packages/studio/src/test/sequenced-timeline.test.ts
+++ b/packages/studio/src/test/sequenced-timeline.test.ts
@@ -39,6 +39,7 @@ test('Should calculate sequences correctly', () => {
nonce: [[0, 11]],
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
},
@@ -63,6 +64,7 @@ test('Should calculate sequences correctly', () => {
nonce: [[0, 216]],
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
},
@@ -87,6 +89,7 @@ test('Should calculate sequences correctly', () => {
nonce: [[0, 211]],
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
},
@@ -111,6 +114,7 @@ test('Should calculate sequences correctly', () => {
nonce: [[0, 213]],
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
},
@@ -143,6 +147,7 @@ test('Should calculate sequences correctly', () => {
doesVolumeChange: false,
getStack,
refForOutline: null,
+ isInsideSeries: false,
},
depth: 3,
hash: '-Sequence-486-0-sequence----0-SynchronizedCode-22736--22250-sequence----0-Video-10736-12000-sequence----0-codep1-2.mp4-10736-0-video---http://localhost:5000/codep1-2.mp4-1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1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,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10',
@@ -166,6 +171,7 @@ test('Should calculate sequences correctly', () => {
nonce: [[0, 215]],
getStack,
refForOutline: null,
+ isInsideSeries: false,
effects: [],
},
depth: 2,
@@ -197,6 +203,7 @@ test('Should calculate sequences correctly', () => {
doesVolumeChange: false,
getStack,
refForOutline: null,
+ isInsideSeries: false,
},
depth: 3,
hash: '-Sequence-486-0-sequence----0-SynchronizedCode-22736--22250-sequence----0-Video-23066--330-sequence----0-screen3.mp4-23066-0-video---http://localhost:5000/screen3.mp4-1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,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1,1,1,10',
@@ -221,6 +228,7 @@ const sequences: TSequence[] = [
nonce: [[0, 11]],
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
},
@@ -240,6 +248,7 @@ const sequences: TSequence[] = [
nonce: [[0, 211]],
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
},
@@ -266,6 +275,7 @@ const sequences: TSequence[] = [
doesVolumeChange: false,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
},
{
@@ -284,6 +294,7 @@ const sequences: TSequence[] = [
nonce: [[0, 213]],
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
},
@@ -310,6 +321,7 @@ const sequences: TSequence[] = [
doesVolumeChange: false,
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
},
{
@@ -328,6 +340,7 @@ const sequences: TSequence[] = [
nonce: [[0, 215]],
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
},
@@ -347,6 +360,7 @@ const sequences: TSequence[] = [
nonce: [[0, 216]],
getStack,
refForOutline: null,
+ isInsideSeries: false,
loopDisplay: undefined,
effects: [],
},
diff --git a/packages/studio/src/test/timeline-keyframes.test.ts b/packages/studio/src/test/timeline-keyframes.test.ts
index 5b0668bbf6..448ae8ab2d 100644
--- a/packages/studio/src/test/timeline-keyframes.test.ts
+++ b/packages/studio/src/test/timeline-keyframes.test.ts
@@ -47,6 +47,7 @@ const makeSequence = ({
loopDisplay: undefined,
getStack,
refForOutline: null,
+ isInsideSeries: false,
premountDisplay: null,
postmountDisplay: null,
controls: overrideId ? makeControls(overrideId) : null,
diff --git a/packages/studio/src/test/timeline-selection.test.ts b/packages/studio/src/test/timeline-selection.test.ts
index 14d1ef2af6..cc147e0bd9 100644
--- a/packages/studio/src/test/timeline-selection.test.ts
+++ b/packages/studio/src/test/timeline-selection.test.ts
@@ -87,6 +87,7 @@ const makeTimelineSequence = ({
supportsEffects: true,
},
refForOutline: null,
+ isInsideSeries: false,
effects,
}) as TSequence;
@@ -326,7 +327,7 @@ test('Cmd+D only duplicates selected timeline sequence rows', () => {
test('Backspace reset targets multiple selected sequence props', () => {
const schema = {
- opacity: {type: 'number', default: 1},
+ opacity: {type: 'number', default: 1, hiddenFromList: false},
'style.rotate': {type: 'rotation-css', default: '0deg'},
} satisfies SequenceSchema;
const opacityNodePathInfo = makeNodePathInfo(
@@ -445,7 +446,7 @@ test('Selected outline dragging applies the same delta to all selected sequences
test('Backspace reset targets selected effect props', () => {
const schema = {} satisfies SequenceSchema;
const effectSchema = {
- intensity: {type: 'number', default: 0},
+ intensity: {type: 'number', default: 0, hiddenFromList: false},
} satisfies SequenceSchema;
const nodePathInfo = makeNodePathInfo(
['body', 0],
diff --git a/packages/studio/src/test/timeline.test.ts b/packages/studio/src/test/timeline.test.ts
index e95e973c9c..e398c9481b 100644
--- a/packages/studio/src/test/timeline.test.ts
+++ b/packages/studio/src/test/timeline.test.ts
@@ -38,6 +38,7 @@ test('Should calculate a basic timeline', () => {
nonce: [[0, 0]],
getStack,
refForOutline: null,
+ isInsideSeries: false,
premountDisplay: null,
postmountDisplay: null,
controls: null,
@@ -65,6 +66,7 @@ test('Should calculate a basic timeline', () => {
loopDisplay: undefined,
getStack,
refForOutline: null,
+ isInsideSeries: false,
type: 'sequence',
nonce: [[0, 0]],
effects: [],
@@ -91,6 +93,7 @@ test('Should follow order of nesting', () => {
nonce: [[0, 0]],
getStack,
refForOutline: null,
+ isInsideSeries: false,
premountDisplay: null,
postmountDisplay: null,
controls: null,
@@ -114,6 +117,7 @@ test('Should follow order of nesting', () => {
nonce: [[0, 0]],
getStack,
refForOutline: null,
+ isInsideSeries: false,
effects: [],
},
],
@@ -138,6 +142,7 @@ test('Should follow order of nesting', () => {
nonce: [[0, 0]],
getStack,
refForOutline: null,
+ isInsideSeries: false,
effects: [],
},
depth: 0,
@@ -158,6 +163,7 @@ test('Should follow order of nesting', () => {
nonce: [[0, 0]],
getStack,
refForOutline: null,
+ isInsideSeries: false,
premountDisplay: null,
postmountDisplay: null,
controls: null,
@@ -188,6 +194,7 @@ test('Should inherit loop display from parent for media tracks', () => {
nonce: [[0, 0]],
getStack,
refForOutline: null,
+ isInsideSeries: false,
premountDisplay: null,
postmountDisplay: null,
controls: null,
@@ -210,6 +217,7 @@ test('Should inherit loop display from parent for media tracks', () => {
nonce: [[0, 1]],
getStack,
refForOutline: null,
+ isInsideSeries: false,
premountDisplay: null,
postmountDisplay: null,
controls: null,