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

Do not truncate decimals for animation delay if specified in seconds

PR Close #24455
This commit is contained in:
levgaas 2018-06-13 01:37:18 +03:00 committed by Miško Hevery
parent df123e0410
commit f1c9d6a81f
1 changed files with 1 additions and 1 deletions

View File

@ -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];