mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +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 stringValue.slice(-3) === "rad" ? radiansToDegrees(x) : x;
|
||||||
}
|
}
|
||||||
|
|
||||||
return y ? { x, y } : x;
|
return { x, y };
|
||||||
}
|
}
|
||||||
|
|
||||||
// Background properties.
|
// Background properties.
|
||||||
|
Reference in New Issue
Block a user