feat(editor): add tool interaction state

This commit is contained in:
syntaxbullet
2026-07-03 10:10:50 +02:00
parent ac2a156a1f
commit c23efeb397
4 changed files with 21 additions and 0 deletions

View File

@@ -1,6 +1,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";
export type ViewportState = {
center: Vec2D;
@@ -17,6 +18,7 @@ export type SelectionState = {
export type EditorState = {
viewport: ViewportState;
selection: SelectionState;
tools: ToolState;
};
export type AppState = {