mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
debug
This commit is contained in:
parent
23fcddb2a3
commit
fb29bb4816
1 changed files with 1 additions and 0 deletions
|
@ -805,6 +805,7 @@ const renderSceneThrottled = throttleRAF(
|
||||||
callback?: (data: ReturnType<typeof _renderScene>) => void;
|
callback?: (data: ReturnType<typeof _renderScene>) => void;
|
||||||
}) => {
|
}) => {
|
||||||
const ret = _renderScene(config);
|
const ret = _renderScene(config);
|
||||||
|
if(!config.appState.shouldCacheIgnoreZoom) console.log(`renderScene 2 throttled`, config.callback)
|
||||||
config.callback?.(ret);
|
config.callback?.(ret);
|
||||||
},
|
},
|
||||||
{ trailing: true },
|
{ trailing: true },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue