1ea72e9134
* Center element on paste * paste on cursor position * correctly center elements * rename vars
18 lines
446 B
TypeScript
18 lines
446 B
TypeScript
import { ExcalidrawElement } from "./element/types";
|
|
|
|
export type AppState = {
|
|
draggingElement: ExcalidrawElement | null;
|
|
resizingElement: ExcalidrawElement | null;
|
|
elementType: string;
|
|
exportBackground: boolean;
|
|
currentItemStrokeColor: string;
|
|
currentItemBackgroundColor: string;
|
|
currentItemFont: string;
|
|
viewBackgroundColor: string;
|
|
scrollX: number;
|
|
scrollY: number;
|
|
cursorX: number;
|
|
cursorY: number;
|
|
name: string;
|
|
};
|