mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Much more thorough tests! (#1053)
This commit is contained in:
parent
d4ff5cb926
commit
bd7856adf3
22 changed files with 11883 additions and 24 deletions
|
@ -1,7 +1,6 @@
|
|||
import { AppState, FlooredNumber } from "./types";
|
||||
import { getDateTime } from "./utils";
|
||||
|
||||
const DEFAULT_PROJECT_NAME = `excalidraw-${getDateTime()}`;
|
||||
export const DEFAULT_FONT = "20px Virgil";
|
||||
|
||||
export function getDefaultAppState(): AppState {
|
||||
|
@ -26,7 +25,7 @@ export function getDefaultAppState(): AppState {
|
|||
cursorX: 0,
|
||||
cursorY: 0,
|
||||
scrolledOutside: false,
|
||||
name: DEFAULT_PROJECT_NAME,
|
||||
name: `excalidraw-${getDateTime()}`,
|
||||
isCollaborating: false,
|
||||
isResizing: false,
|
||||
selectionElement: null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue