feat(editor): add tool interaction state
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type { AppState, EditorState } from "./state";
|
||||
import { initialToolState } from "./tools";
|
||||
|
||||
export const initialEditorState: EditorState = {
|
||||
viewport: {
|
||||
@@ -10,6 +11,7 @@ export const initialEditorState: EditorState = {
|
||||
selection: {
|
||||
layerIds: [],
|
||||
},
|
||||
tools: initialToolState,
|
||||
};
|
||||
|
||||
export function createInitialAppState(name = "Untitled"): AppState {
|
||||
|
||||
Reference in New Issue
Block a user