debug total render size

This commit is contained in:
zsviczian 2023-04-04 18:42:34 +02:00
parent a26e8bade8
commit 808e4711f9
4 changed files with 47 additions and 34 deletions

View file

@ -136,7 +136,7 @@ export const throttleRAF = <T extends any[]>(
let lastArgs: T | null = null;
let lastArgsTrailing: T | null = null;
let watchdog: number | null = null;
const scheduleFunc = (args: T) => {
timerId = window.requestAnimationFrame(() => {
timerId = null;