You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2021/01/05 19:28:06 UTC

[royale-asjs] 02/02: Revert "Fix #1019"

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

commit 8434fbe0af523d16d368cdf62ff9046059a1b948
Author: Yishay Weiss <yi...@hotmail.com>
AuthorDate: Tue Jan 5 21:15:49 2021 +0200

    Revert "Fix #1019"
    
    This reverts commit c5c61e52ab94f44eb3a985509259b210569213b0.
---
 .../royale/spark/components/SkinnableContainer.as  | 28 ----------------------
 1 file changed, 28 deletions(-)

diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/SkinnableContainer.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/SkinnableContainer.as
index d4314df..c843ef5 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/SkinnableContainer.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/SkinnableContainer.as
@@ -995,34 +995,6 @@ public class SkinnableContainer extends SkinnableContainerBase implements IConta
             dispatchEvent(new Event("layoutNeeded"));
     }
     
-    override public function get measuredWidth():Number
-    {
-        if (isNaN(_measuredWidth))
-            measure();
-        if (isNaN(_measuredWidth))
-             return width;
-        return _measuredWidth;
-    }
-
-    override public function get measuredHeight():Number
-    {
-        if (isNaN(_measuredHeight))
-            measure();
-        if (isNaN(_measuredHeight))
-            return height;
-        return _measuredHeight;
-    }
-
-
-    /**
-     *  @private
-     */
-    override protected function measure():void
-    {
-            _layout.measure();
-            
-    }
-
     override protected function createChildren():void
     {
         super.createChildren();