This commit is contained in:
zsviczian 2023-04-03 21:26:53 +02:00
parent 23fcddb2a3
commit fb29bb4816

View File

@ -805,6 +805,7 @@ const renderSceneThrottled = throttleRAF(
callback?: (data: ReturnType<typeof _renderScene>) => void;
}) => {
const ret = _renderScene(config);
if(!config.appState.shouldCacheIgnoreZoom) console.log(`renderScene 2 throttled`, config.callback)
config.callback?.(ret);
},
{ trailing: true },