flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [6/6] git commit: [flex-asjs] [refs/heads/develop] - try to stop looping like AS-side
Date Wed, 26 Aug 2015 06:16:42 GMT
try to stop looping like AS-side


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/a54a1ff2
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a54a1ff2
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a54a1ff2

Branch: refs/heads/develop
Commit: a54a1ff2bfbc7851ab77d8d8d041e2b8335bccfd
Parents: 0cbdb9e
Author: Alex Harui <aharui@apache.org>
Authored: Tue Aug 25 23:16:30 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Aug 25 23:16:30 2015 -0700

----------------------------------------------------------------------
 .../HTML/js/src/org/apache/flex/html/beads/ContainerView.js | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a54a1ff2/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ContainerView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ContainerView.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ContainerView.js
index 70c2752..bbce1be 100644
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ContainerView.js
+++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ContainerView.js
@@ -242,7 +242,14 @@ org.apache.flex.html.beads.ContainerView.
       this._strand.addBead(this.layout);
     }
   }
-  this.layout.layout();
+  this.resizingChildren = true;
+  /*
+  org.apache.flex.utils.Language.trace(this._strand.id);
+  var foo = false;
+  if (foo)
+  */
+    this.layout.layout();
+  this.resizingChildren = false;
 
   this.adjustSizeAfterLayout();
 };


Mime
View raw message