1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-26 15:46:23 +00:00

Fixed javascript code to remove animateStatusIndeterminate callback when the game is loaded.

This commit is contained in:
Enzo Ferrari
2019-08-23 21:33:18 +02:00
parent e766b16e95
commit a5a413c7e9

View File

@@ -175,8 +175,8 @@ $GODOT_HEAD_INCLUDE
[statusProgress, statusIndeterminate, statusNotice].forEach(elem => {
elem.style.display = 'none';
});
if (animateStatusIndeterminate in animationCallbacks) {
animationCallbacks.erase(animateStatusIndeterminate);
animationCallbacks = animationCallbacks.filter(function(value) {
return (value != animateStatusIndeterminate);
}
switch (mode) {
case 'progress':