From b7c61cad9656dab535f468e344a4443ed2b248a9 Mon Sep 17 00:00:00 2001 From: Stanimira Vlaeva Date: Fri, 9 Jun 2017 20:54:46 +0300 Subject: [PATCH] fix(css-animations): convert transform value properly (#4352) --- tns-core-modules/ui/styling/style-properties.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.