more detailed debug
This commit is contained in:
parent
3f11ca0a44
commit
a772362599
@ -417,10 +417,14 @@ export const _renderScene = ({
|
|||||||
console.log("start: renderElements");
|
console.log("start: renderElements");
|
||||||
}
|
}
|
||||||
console.log(
|
console.log(
|
||||||
visibleElements.reduce((acc, el) => {
|
visibleElements.length,
|
||||||
const { width, height } = cappedElementCanvasSize(el, appState.zoom);
|
appState.zoom.value,
|
||||||
return acc + width * height;
|
Math.round(
|
||||||
}, 0),
|
visibleElements.reduce((acc, el) => {
|
||||||
|
const { width, height } = cappedElementCanvasSize(el, appState.zoom);
|
||||||
|
return acc + width * height;
|
||||||
|
}, 0),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
visibleElements.forEach((element) => {
|
visibleElements.forEach((element) => {
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user