debug
This commit is contained in:
parent
f77975cee5
commit
fd030de669
@ -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…
x
Reference in New Issue
Block a user