This commit is contained in:
Panayiotis Lipiridis 2021-02-07 12:16:17 +02:00
parent 3b11b1d9d3
commit 69a7b1f2b5
2 changed files with 2 additions and 1 deletions

View File

@ -73,7 +73,7 @@ export const getDefaultAppState = (): Omit<
zenModeEnabled: false, zenModeEnabled: false,
zoom: { value: 1 as NormalizedZoomValue, translation: { x: 0, y: 0 } }, zoom: { value: 1 as NormalizedZoomValue, translation: { x: 0, y: 0 } },
viewModeEnabled: false, viewModeEnabled: false,
networkSpeed: "calculating...", networkSpeed: "",
}; };
}; };

View File

@ -1039,6 +1039,7 @@ class App extends React.Component<ExcalidrawProps, AppState> {
NETWORK_SPEED_THRESHOLD, NETWORK_SPEED_THRESHOLD,
); );
}; };
// Copy/paste // Copy/paste
private onCut = withBatchedUpdates((event: ClipboardEvent) => { private onCut = withBatchedUpdates((event: ClipboardEvent) => {