diff --git a/tns-core-modules/ui/styling/style-properties.ts b/tns-core-modules/ui/styling/style-properties.ts index 1b233e404..faca3c742 100644 --- a/tns-core-modules/ui/styling/style-properties.ts +++ b/tns-core-modules/ui/styling/style-properties.ts @@ -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.