As mentioned in #724, the current implementation is suboptimal. Let's remove it until we come back with a better design. Fixes #724
20 lines
402 B
TypeScript
20 lines
402 B
TypeScript
import { ExcalidrawTextElement } from "../element/types";
|
|
|
|
export type SceneState = {
|
|
scrollX: number;
|
|
scrollY: number;
|
|
// null indicates transparent bg
|
|
viewBackgroundColor: string | null;
|
|
};
|
|
|
|
export type SceneScroll = {
|
|
scrollX: number;
|
|
scrollY: number;
|
|
};
|
|
|
|
export interface Scene {
|
|
elements: ExcalidrawTextElement[];
|
|
}
|
|
|
|
export type ExportType = "png" | "clipboard" | "backend" | "svg";
|