flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [7/9] git commit: [flex-asjs] [refs/heads/develop] - watch all children all the time
Date Tue, 04 Aug 2015 22:04:42 GMT
watch all children all the time


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

Branch: refs/heads/develop
Commit: 122055fba1234635631f4931cbadc6cf64f3aae9
Parents: 0bcab28
Author: Alex Harui <aharui@apache.org>
Authored: Tue Aug 4 09:46:47 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Aug 4 13:54:17 2015 -0700

----------------------------------------------------------------------
 .../HTML/as/src/org/apache/flex/html/beads/ContainerView.as        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/122055fb/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as
index 8eba5e0..39765a8 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as
@@ -190,7 +190,6 @@ package org.apache.flex.html.beads
 			if (num > 0) 
             {
                 performLayout(event);
-                childrenChangedHandler(event);
             }
 		}
 		
@@ -210,6 +209,7 @@ package org.apache.flex.html.beads
 			(contentView as UIBase).setWidthAndHeight(viewportModel.contentWidth, viewportModel.contentHeight,
true);
 			
 			host.addEventListener("childrenAdded", childrenChangedHandler);
+            childrenChangedHandler(null);
 			host.addEventListener("childrenAdded", performLayout);
 			host.addEventListener("layoutNeeded", performLayout);
 			host.addEventListener("widthChanged", resizeHandler);


Mime
View raw message