summaryrefslogtreecommitdiff
path: root/apps/web/src/lib/commands/base-command.ts
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-04-15 15:45:50 +0200
committerMaze Winther <mazewinther@gmail.com>2026-04-15 15:45:50 +0200
commitc46d28891fee62ca2d3132da876af6411a41d9da (patch)
treef856f71d04c69628f26b904088d675dd298a5080 /apps/web/src/lib/commands/base-command.ts
parent66e4367bc4727f1d0bcf8f869529c7518812277e (diff)
downloadopencut-c46d28891fee62ca2d3132da876af6411a41d9da.tar.gz
feat: text / custom masks, fix preview pan, refactor selection
Diffstat (limited to 'apps/web/src/lib/commands/base-command.ts')
-rw-r--r--apps/web/src/lib/commands/base-command.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/lib/commands/base-command.ts b/apps/web/src/lib/commands/base-command.ts
index a8ce1d34..2d0d04b7 100644
--- a/apps/web/src/lib/commands/base-command.ts
+++ b/apps/web/src/lib/commands/base-command.ts
@@ -1,7 +1,7 @@
-import type { ElementRef } from "@/lib/timeline/types";
+import type { EditorSelectionPatch } from "@/lib/selection/editor-selection";
export interface CommandResult {
- select?: ElementRef[];
+ selection?: EditorSelectionPatch;
}
export abstract class Command {