summaryrefslogtreecommitdiff
path: root/apps/web/src/core
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-04-29 18:41:15 +0200
committerMaze Winther <mazewinther@gmail.com>2026-05-02 03:27:23 +0200
commit79dcec8a2ec2f5cad9be95e5b52fbfa752fb6ac4 (patch)
tree99ff9393c4a550669ebac921c6a0535437a39413 /apps/web/src/core
parent97f8d1968f186028e41f83b04c0897130e6c69f4 (diff)
downloadopencut-79dcec8a2ec2f5cad9be95e5b52fbfa752fb6ac4.tar.gz
refactor: split builtin and freeform masks
Made-with: Cursor
Diffstat (limited to 'apps/web/src/core')
-rw-r--r--apps/web/src/core/managers/timeline-manager.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/web/src/core/managers/timeline-manager.ts b/apps/web/src/core/managers/timeline-manager.ts
index dfabca01..6fb28625 100644
--- a/apps/web/src/core/managers/timeline-manager.ts
+++ b/apps/web/src/core/managers/timeline-manager.ts
@@ -46,8 +46,8 @@ import {
RetimeKeyframeCommand,
UpdateScalarKeyframeCurveCommand,
AddClipEffectCommand,
- DeleteCustomMaskPointsCommand,
- InsertCustomMaskPointCommand,
+ DeleteFreeformPathMaskPointsCommand,
+ InsertFreeformPathMaskPointCommand,
RemoveClipEffectCommand,
UpdateClipEffectParamsCommand,
ToggleClipEffectCommand,
@@ -349,7 +349,7 @@ export class TimelineManager {
this.editor.command.execute({ command });
}
- deleteCustomMaskPoints({
+ deleteFreeformPathMaskPoints({
trackId,
elementId,
maskId,
@@ -363,7 +363,7 @@ export class TimelineManager {
if (pointIds.length === 0) {
return;
}
- const command = new DeleteCustomMaskPointsCommand({
+ const command = new DeleteFreeformPathMaskPointsCommand({
trackId,
elementId,
maskId,
@@ -372,7 +372,7 @@ export class TimelineManager {
this.editor.command.execute({ command });
}
- insertCustomMaskPoint({
+ insertFreeformPathMaskPoint({
trackId,
elementId,
maskId,
@@ -387,7 +387,7 @@ export class TimelineManager {
canvasPoint: { x: number; y: number };
bounds: ElementBounds;
}): void {
- const command = new InsertCustomMaskPointCommand({
+ const command = new InsertFreeformPathMaskPointCommand({
trackId,
elementId,
maskId,