FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(css-animations): convert transform value properly (#4352) · NativeScript/NativeScript@b7c61ca · GitHub

Commit b7c61ca

Browse files
authored
fix(css-animations): convert transform value properly (#4352)
1 parent 6184338 commit b7c61ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tns-core-modules/ui/styling/style-properties.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ function convertTransformValue(property: string, stringValue: string)
541541
return stringValue.slice(-3) === "rad" ? radiansToDegrees(x) : x;
542542
}
543543

544-
return y ? { x, y } : x;
544+
return { x, y };
545545
}
546546

547547
// Background properties.

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL