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:
parent
df123e0410
commit
f1c9d6a81f
@ -65,7 +65,7 @@ function parseTimeExpression(
|
|||||||
|
|
||||||
const delayMatch = matches[3];
|
const delayMatch = matches[3];
|
||||||
if (delayMatch != null) {
|
if (delayMatch != null) {
|
||||||
delay = _convertTimeValueToMS(Math.floor(parseFloat(delayMatch)), matches[4]);
|
delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]);
|
||||||
}
|
}
|
||||||
|
|
||||||
const easingVal = matches[5];
|
const easingVal = matches[5];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user