feat(transform): add transform session commands

This commit is contained in:
syntaxbullet
2026-07-03 16:06:58 +02:00
parent 03d4d4a3b9
commit bf5d9f5371
9 changed files with 186 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ import type { ImageDocument } from "@core/document";
import type { Angle, Size, Vec2D } from "@core/geometry";
import type { ArtboardId, LayerId } from "@core/id";
import type { ToolState } from "./tools";
import type { TransformSession } from "./transform";
export type ViewportState = {
center: Vec2D;
@@ -19,6 +20,7 @@ export type EditorState = {
viewport: ViewportState;
selection: SelectionState;
tools: ToolState;
transformSession?: TransformSession;
};
export type AppState = {