10955f8bb0
* Fixed cleaning handlers after cleanup * Double click to edit text * Preserve text styles on change
16 lines
408 B
TypeScript
16 lines
408 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;
|
|
name: string;
|
|
};
|