mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-20 16:00:38 +02:00
more detailed debug
This commit is contained in:
@@ -417,10 +417,14 @@ export const _renderScene = ({
|
||||
console.log("start: renderElements");
|
||||
}
|
||||
console.log(
|
||||
visibleElements.reduce((acc, el) => {
|
||||
const { width, height } = cappedElementCanvasSize(el, appState.zoom);
|
||||
return acc + width * height;
|
||||
}, 0),
|
||||
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 {
|
||||
|
Reference in New Issue
Block a user