Fixed javascript code to remove animateStatusIndeterminate callback when the game is loaded.
This commit is contained in:
parent
e766b16e95
commit
a5a413c7e9
|
@ -175,8 +175,8 @@ $GODOT_HEAD_INCLUDE
|
||||||
[statusProgress, statusIndeterminate, statusNotice].forEach(elem => {
|
[statusProgress, statusIndeterminate, statusNotice].forEach(elem => {
|
||||||
elem.style.display = 'none';
|
elem.style.display = 'none';
|
||||||
});
|
});
|
||||||
if (animateStatusIndeterminate in animationCallbacks) {
|
animationCallbacks = animationCallbacks.filter(function(value) {
|
||||||
animationCallbacks.erase(animateStatusIndeterminate);
|
return (value != animateStatusIndeterminate);
|
||||||
}
|
}
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
case 'progress':
|
case 'progress':
|
||||||
|
|
Loading…
Reference in New Issue