mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
debug
This commit is contained in:
parent
f77975cee5
commit
fd030de669
1 changed files with 3 additions and 2 deletions
|
@ -1361,7 +1361,8 @@ class App extends React.Component<AppProps, AppState> {
|
||||||
document.querySelector(".excalidraw")!,
|
document.querySelector(".excalidraw")!,
|
||||||
).getPropertyValue("--color-selection");
|
).getPropertyValue("--color-selection");
|
||||||
|
|
||||||
if(!this.state.shouldCacheIgnoreZoom) console.log(`renderScene`);
|
const now = Date.now();
|
||||||
|
if(!this.state.shouldCacheIgnoreZoom) console.log(`renderScene`,now);
|
||||||
renderScene(
|
renderScene(
|
||||||
{
|
{
|
||||||
elements: renderingElements,
|
elements: renderingElements,
|
||||||
|
@ -1399,7 +1400,7 @@ class App extends React.Component<AppProps, AppState> {
|
||||||
this.setState({ scrolledOutside });
|
this.setState({ scrolledOutside });
|
||||||
}
|
}
|
||||||
this.scheduleImageRefresh();
|
this.scheduleImageRefresh();
|
||||||
if(!this.state.shouldCacheIgnoreZoom) setTimeout(()=>console.log(`after renderScene`));
|
if(!this.state.shouldCacheIgnoreZoom) setTimeout(()=>console.log(`after renderScene`,now));
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
THROTTLE_NEXT_RENDER && window.EXCALIDRAW_THROTTLE_RENDER === true,
|
THROTTLE_NEXT_RENDER && window.EXCALIDRAW_THROTTLE_RENDER === true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue