You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2018/09/07 10:14:00 UTC

[royale-asjs] branch develop updated: Oops. Needs to be JS-only

This is an automated email from the ASF dual-hosted git repository.

harbs 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 29fbdbb  Oops. Needs to be JS-only
29fbdbb is described below

commit 29fbdbba03c92bf498c1737d6667b11537bfcdd5
Author: Harbs <ha...@in-tools.com>
AuthorDate: Fri Sep 7 13:13:51 2018 +0300

    Oops. Needs to be JS-only
---
 .../MXRoyale/src/main/royale/mx/core/UIComponent.as     | 17 +++--------------
 1 file changed, 3 insertions(+), 14 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 53ae351..4324303 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
@@ -517,19 +517,6 @@ public class UIComponent extends UIBase
 	 {
 	    _horizontalAxis = value;
 	 }
-    private var _rotation:Number;
-
-    public function get rotation():Number
-    {
-        //TODO figure out JS side. There's a transofrm bead, but that's pretty specific to SVG (I think)
-        trace("proper rotation not yet implemented");
-    	return _rotation;
-    }
-
-    public function set rotation(value:Number):void
-    {
-    	_rotation = value;
-    }
 	//----------------------------------
     //  graphics copied from Sprite
     //----------------------------------
@@ -562,7 +549,9 @@ public class UIComponent extends UIBase
 	 
 	 	public function get rotation():Number
 	 	{
-	    		return _rotation;
+            //TODO figure out JS side. There's a transofrm bead, but that's pretty specific to SVG (I think)
+            trace("proper rotation not yet implemented");
+	    	return _rotation;
 	 	}
      		public function set rotation(value:Number):void
 		{