Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions SDUI/Animation/AnimationEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ private void CheckAnimationCompletion()
var direction = animationDirections[i];
var progress = animationProgresses[i];

if (direction == AnimationDirection.InOutIn ||
direction == AnimationDirection.InOutRepeatingIn ||
if (direction == AnimationDirection.InOutIn ||
direction == AnimationDirection.InOutRepeatingIn ||
direction == AnimationDirection.InOutRepeatingOut)
return;

Expand All @@ -235,6 +235,7 @@ private void CheckAnimationCompletion()
return;
}

Running = false;
OnAnimationFinished?.Invoke(this);
}

Expand Down
Loading