fix: disable render throttling by default & during resize (#5451)

This commit is contained in:
David Luzar 2022-07-16 11:36:55 +02:00 committed by GitHub
parent df14c69977
commit 5bc40402a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 66 additions and 14 deletions

View file

@ -83,6 +83,8 @@ import { jotaiStore, useAtomWithInitialValue } from "../jotai";
import { reconcileElements } from "./collab/reconciliation";
import { parseLibraryTokensFromUrl, useHandleLibrary } from "../data/library";
window.EXCALIDRAW_THROTTLE_RENDER = true;
const isExcalidrawPlusSignedUser = document.cookie.includes(
COOKIES.AUTH_STATE_COOKIE,
);