try to fix

This commit is contained in:
An Orbit 2023-04-16 19:54:37 -04:00 committed by GitHub
parent 4bbd0ee223
commit e3a934524c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 6 deletions

View File

@ -319,12 +319,14 @@ Pixel size (rendering only): <input id="pixelSize"> (Use if the save looks cut o
<button id="sizeButton" onclick=setPixelSize() style="color: #FF00FF;">Set pixel size</button>
</div>`;
elements.save_loader = {
behavior: behaviors.SELFDELETE,
excludeRandom: true,
color: "#FFFFFF",
desc: saveLoaderDescription,
};
runAfterLoad(function() { //somehow it gets defined before elements on xbox
elements.save_loader = {
behavior: behaviors.SELFDELETE,
excludeRandom: true,
color: "#FFFFFF",
desc: saveLoaderDescription,
};
});
} catch (error) {
alert(`save_loading error: ${error.message}`);
};