Don't break animation loop when errors occur
This commit is contained in:
@@ -7204,6 +7204,7 @@ function startToneOnUserInteraction() {
|
||||
startToneOnUserInteraction();
|
||||
|
||||
function renderAll() {
|
||||
try {
|
||||
if (uiDirty) {
|
||||
renderUI();
|
||||
uiDirty = false;
|
||||
@@ -7224,7 +7225,11 @@ function renderAll() {
|
||||
renderInfopanel();
|
||||
infopanelDirty = false;
|
||||
}
|
||||
} catch (error) {
|
||||
console.error("Error during rendering:", error);
|
||||
} finally {
|
||||
requestAnimationFrame(renderAll);
|
||||
}
|
||||
}
|
||||
|
||||
renderAll();
|
||||
|
||||
Reference in New Issue
Block a user