Skip to content

Commit

Permalink
Fix bug when calculating endFrame value
Browse files Browse the repository at this point in the history
  • Loading branch information
Popov72 committed Aug 30, 2023
1 parent 7277abd commit 4088fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dev/core/src/Animations/animationGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ export class AnimationGroup implements IDisposable {
weight = weight ?? animationGroups[0].weight;

let beginFrame = Number.MAX_VALUE;
let endFrame = Number.MIN_VALUE;
let endFrame = -Number.MAX_VALUE;

if (normalize) {
for (const animationGroup of animationGroups) {
Expand Down

0 comments on commit 4088fa5

Please sign in to comment.