Fixed javascript code to remove animateStatusIndeterminate callback when the game is loaded.
(cherry picked from commit a5a413c7e9
)
This commit is contained in:
parent
41beecaa08
commit
5323d24fad
|
@ -180,8 +180,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':
|
||||
|
|
Loading…
Reference in New Issue