flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [24/50] [abbrv] git commit: [flex-asjs] [refs/heads/dual] - replicate 25195f5fd85d8d54a5f7741161cb28aa7b4a2396 to Basic
Date Thu, 09 Feb 2017 05:45:16 GMT
replicate 25195f5fd85d8d54a5f7741161cb28aa7b4a2396 to Basic


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

Branch: refs/heads/dual
Commit: 1866e6bf5502a2071d4937330c028a90b08d7e71
Parents: a20b4ef
Author: Alex Harui <aharui@apache.org>
Authored: Mon Feb 6 13:04:38 2017 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Feb 6 13:04:38 2017 -0800

----------------------------------------------------------------------
 .../flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1866e6bf/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as
index 87a7832..29a8b6d 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as
@@ -81,7 +81,10 @@ package org.apache.flex.html.beads.layouts
 			host = value as ILayoutChild;
             COMPILE::JS
             {
-                ((value as IUIBase).element as HTMLElement).style.display = 'block';
+                var base:IUIBase = value as IUIBase;
+                if (base.element.style.display !== "none") {
+                    base.element.style.display = "block";
+                }
             }
 		}
 	


Mime
View raw message