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/11/06 19:58:38 UTC

[royale-asjs] branch develop updated: Disabling handleChildrenAdded messed up swf containers"

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


The following commit(s) were added to refs/heads/develop by this push:
     new 3d93f78  Disabling handleChildrenAdded messed up swf containers"
3d93f78 is described below

commit 3d93f7850f9fa01381ed63c1c4692e06222692c4
Author: Yishay Weiss <yi...@hotmail.com>
AuthorDate: Sat Nov 6 20:07:34 2021 +0200

    Disabling handleChildrenAdded messed up swf containers"
---
 .../MXRoyale/src/main/royale/mx/containers/beads/BoxLayout.as       | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/beads/BoxLayout.as b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/beads/BoxLayout.as
index fca80b8..bdd372e 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/beads/BoxLayout.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/beads/BoxLayout.as
@@ -520,10 +520,8 @@ package mx.containers.beads
 		
 		override protected function handleChildrenAdded(event:Event):void
 		{
-			COMPILE::JS {
-				super.handleChildrenAdded(event);
-				listenToChildren();
-			}
+			super.handleChildrenAdded(event);
+			listenToChildren();
 		}
 		
 		private function listenToChildren():void