royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [royale-asjs] 04/06: MXML components are top of component/document chain
Date Mon, 02 Apr 2018 17:27:41 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit c3660043acd70548e10bfde9f10f23d905a14d01
Author: Alex Harui <aharui@apache.org>
AuthorDate: Mon Apr 2 10:25:50 2018 -0700

    MXML components are top of component/document chain
---
 frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as
index feca242..936cb9a 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as
@@ -484,6 +484,9 @@ public class Container extends UIComponent
 			ValuesManager.valuesImpl.init(this);
 		}
 		
+        if (MXMLDescriptor)
+            component = this;
+        
 		super.addedToParent();
 		
 		if (!_initialized) {

-- 
To stop receiving notification emails like this one, please contact
aharui@apache.org.

Mime
View raw message