From c7346e3a77fde9e8cdc3eaa9e372d9dd2a0a47db Mon Sep 17 00:00:00 2001 From: zsviczian Date: Mon, 3 Apr 2023 22:24:18 +0200 Subject: [PATCH] always throttle render --- src/components/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/App.tsx b/src/components/App.tsx index df4d79ae2..bbaac3bdf 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -1403,7 +1403,7 @@ class App extends React.Component { if(!this.state.shouldCacheIgnoreZoom) setTimeout(()=>console.log(`after renderScene`,now)); }, }, - THROTTLE_NEXT_RENDER && window.EXCALIDRAW_THROTTLE_RENDER === true, + true || THROTTLE_NEXT_RENDER && window.EXCALIDRAW_THROTTLE_RENDER === true, ); if (!THROTTLE_NEXT_RENDER) {