Skip to content

Commit f1c9d6a

Browse files
vladimir-barsuchenkomhevery
authored andcommitted
fix(animations): do not truncate decimals for delay (angular#24455)
Do not truncate decimals for animation delay if specified in seconds PR Close angular#24455
1 parent df123e0 commit f1c9d6a

File tree

1 file changed

+1
-1
lines changed
  • packages/animations/browser/src

1 file changed

+1
-1
lines changed

packages/animations/browser/src/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function parseTimeExpression(
6565

6666
const delayMatch = matches[3];
6767
if (delayMatch != null) {
68-
delay = _convertTimeValueToMS(Math.floor(parseFloat(delayMatch)), matches[4]);
68+
delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]);
6969
}
7070

7171
const easingVal = matches[5];

0 commit comments

Comments
 (0)