Merge branch 'master' into kb/auto-save-support

This commit is contained in:
dwelle
2021-04-04 14:47:38 +02:00
117 changed files with 4189 additions and 1026 deletions
+6 -1
View File
@@ -6,7 +6,10 @@ import { AppState, ExcalidrawProps } from "../types";
export type ActionResult =
| {
elements?: readonly ExcalidrawElement[] | null;
appState?: MarkOptional<AppState, "offsetTop" | "offsetLeft"> | null;
appState?: MarkOptional<
AppState,
"offsetTop" | "offsetLeft" | "width" | "height"
> | null;
commitToHistory: boolean;
syncHistory?: boolean;
}
@@ -86,6 +89,8 @@ export type ActionName =
| "alignHorizontallyCentered"
| "distributeHorizontally"
| "distributeVertically"
| "flipHorizontal"
| "flipVertical"
| "viewMode"
| "exportWithDarkMode";