mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
fix(css-animations): convert transform value properly (#4352)
This commit is contained in:
@ -541,7 +541,7 @@ function convertTransformValue(property: string, stringValue: string)
|
||||
return stringValue.slice(-3) === "rad" ? radiansToDegrees(x) : x;
|
||||
}
|
||||
|
||||
return y ? { x, y } : x;
|
||||
return { x, y };
|
||||
}
|
||||
|
||||
// Background properties.
|
||||
|
Reference in New Issue
Block a user