feat: ripple support for element resize

This commit is contained in:
Maze Winther
2026-03-02 13:26:40 +01:00
parent e7dcb586c0
commit db50b5214d
3 changed files with 57 additions and 18 deletions
@@ -73,6 +73,7 @@ export class TimelineManager {
startTime,
duration,
pushHistory = true,
rippleEnabled = false,
}: {
elementId: string;
trimStart: number;
@@ -80,6 +81,7 @@ export class TimelineManager {
startTime?: number;
duration?: number;
pushHistory?: boolean;
rippleEnabled?: boolean;
}): void {
const command = new UpdateElementTrimCommand({
elementId,
@@ -87,6 +89,7 @@ export class TimelineManager {
trimEnd,
startTime,
duration,
rippleEnabled,
});
if (pushHistory) {
this.editor.command.execute({ command });