Merge pull request #6536 from TJ09/animation-global-time-scale

Apply AnimationManager's global time scale to AnimationStates.
This commit is contained in:
Richard Davey 2023-07-21 16:38:49 +01:00 committed by GitHub
commit c23b276cdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1487,7 +1487,7 @@ var AnimationState = new Class({
return;
}
this.accumulator += delta * this.timeScale;
this.accumulator += delta * this.timeScale * this.animationManager.globalTimeScale;
if (this._pendingStop === 1)
{