Skip to content

Commit e4a784c

Browse files
committed
Lint fixed version of phaserjs#4373
1 parent 74bd872 commit e4a784c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/animations/Animation.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,11 @@ var Animation = new Class({
591591

592592
if (component._reverse === !isReverse && component.repeatCounter > 0)
593593
{
594-
component.forward = isReverse;
594+
if (!component._repeatDelay || component.pendingRepeat)
595+
596+
{
597+
component.forward = isReverse;
598+
}
595599

596600
this.repeatAnimation(component);
597601

0 commit comments

Comments
 (0)