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 <[email protected]>
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
[email protected].

Reply via email to