always throttle render

This commit is contained in:
zsviczian 2023-04-03 22:24:18 +02:00
parent fd030de669
commit c7346e3a77

View File

@ -1403,7 +1403,7 @@ class App extends React.Component<AppProps, AppState> {
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) {