mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
more detailed debug
This commit is contained in:
parent
3f11ca0a44
commit
a772362599
1 changed files with 8 additions and 4 deletions
|
@ -417,10 +417,14 @@ export const _renderScene = ({
|
|||
console.log("start: renderElements");
|
||||
}
|
||||
console.log(
|
||||
visibleElements.length,
|
||||
appState.zoom.value,
|
||||
Math.round(
|
||||
visibleElements.reduce((acc, el) => {
|
||||
const { width, height } = cappedElementCanvasSize(el, appState.zoom);
|
||||
return acc + width * height;
|
||||
}, 0),
|
||||
),
|
||||
);
|
||||
visibleElements.forEach((element) => {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue