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

harbs pushed a commit to branch feature/layout-optimization
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/feature/layout-optimization by 
this push:
     new 21db116  Cleanup
21db116 is described below

commit 21db116aadef73d220e253aebfc8161a37e3a5b6
Author: Harbs <[email protected]>
AuthorDate: Sun Mar 25 00:08:18 2018 +0300

    Cleanup
---
 .../src/main/royale/org/apache/royale/core/LayoutBase.as | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git 
a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/LayoutBase.as
 
b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/LayoutBase.as
index 7a4f95f..5a175e7 100644
--- 
a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/LayoutBase.as
+++ 
b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/LayoutBase.as
@@ -20,22 +20,19 @@ package org.apache.royale.core
 {
 
        import org.apache.royale.core.IBeadLayout;
-    import org.apache.royale.core.IBorderPaddingMarginValuesImpl;
+       import org.apache.royale.core.IBorderPaddingMarginValuesImpl;
        import org.apache.royale.core.ILayoutChild;
        import org.apache.royale.core.ILayoutHost;
        import org.apache.royale.core.ILayoutParent;
        import org.apache.royale.core.ILayoutView;
-       import org.apache.royale.core.IParent;
        import org.apache.royale.core.IStrand;
-    import org.apache.royale.core.IUIBase;
-    import org.apache.royale.core.layout.EdgeData;
-    import org.apache.royale.core.layout.MarginData;
+       import org.apache.royale.core.IUIBase;
        import org.apache.royale.core.LayoutManager;
        import org.apache.royale.core.ValuesManager;
-       import org.apache.royale.events.IEventDispatcher;
+       import org.apache.royale.core.layout.EdgeData;
+       import org.apache.royale.core.layout.MarginData;
        import org.apache.royale.events.Event;
-    import org.apache.royale.utils.CSSUtils;
-       import org.apache.royale.utils.measureComponent;
+       import org.apache.royale.events.IEventDispatcher;
 
     /**
      *  This class is the base class for most, if not all, layouts. 
@@ -314,9 +311,6 @@ package org.apache.royale.core
                        
                        isLayoutRunning = true;
                        LayoutManager.addMeasurement(host);
-                       // measureComponent(host);
-                       // var oldWidth:Number = host.measuredWidth;
-                       // var oldHeight:Number = host.measuredHeight;
                        
                        var viewBead:ILayoutHost = (host as 
ILayoutParent).getLayoutHost();
                        

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to