feat(editor): add tool interaction state
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user