This is an automated email from the ASF dual-hosted git repository.
yishayw pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new c1a5313677 Correct transform-orgin syntax for rotation in emulation
c1a5313677 is described below
commit c1a53136770428cfb5ee0d769a275cc2535e0288
Author: Yishay Weiss <[email protected]>
AuthorDate: Tue May 17 15:21:10 2022 +0300
Correct transform-orgin syntax for rotation in emulation
---
frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
index 81fac44a0b..2776546176 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
@@ -1204,8 +1204,7 @@ public class UIComponent extends UIBase
{
_rotation = value;
element.style.transform = computeTransformString();
- element.style["transform-origin-x"] = "0px";
- element.style["transform-origin-y"] = "0px";
+ element.style["transform-origin"] = "0 0";
}
COMPILE::JS