Skip to content

Commit

Permalink
Resolve issue with ThenEffect end times
Browse files Browse the repository at this point in the history
per issue #93
  • Loading branch information
gskinner committed Nov 20, 2023
1 parent 6c140a0 commit e5191a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/animate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class Animate extends StatefulWidget with AnimateManager<Animate> {

_entries.add(entry);
_lastEntry = entry;
if (entry.end > _duration) _duration = entry.end;
if (entry.end > _duration && effect is! ThenEffect) _duration = entry.end;
return this;
}
}
Expand Down

0 comments on commit e5191a1

Please sign in to comment.