Skip to content
Permalink
Browse files

fix(animations): do not truncate decimals for delay (#24455)

Do not truncate decimals for animation delay if specified in seconds

PR Close #24455
  • Loading branch information...
levgaas authored and mhevery committed Jun 12, 2018
1 parent df123e0 commit f1c9d6a81fd0a0dc103af199149c30aab8328a2d
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/animations/browser/src/util.ts
@@ -65,7 +65,7 @@ function parseTimeExpression(

const delayMatch = matches[3];
if (delayMatch != null) {
delay = _convertTimeValueToMS(Math.floor(parseFloat(delayMatch)), matches[4]);
delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]);
}

const easingVal = matches[5];

1 comment on commit f1c9d6a

@IgorMinar

This comment has been minimized.

Copy link
Member

IgorMinar commented on f1c9d6a Dec 18, 2018

@matsko @levgaas can you please add tests for this change as a followup PR?

Please sign in to comment.
You can’t perform that action at this time.