You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2020/01/17 11:57:51 UTC

[royale-asjs] 02/02: We need to add the positioner and not the element

This is an automated email from the ASF dual-hosted git repository.

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

commit ffe0369f93a854d5e5a15db6f3329fccb2edb864
Author: Harbs <ha...@in-tools.com>
AuthorDate: Fri Jan 17 13:57:32 2020 +0200

    We need to add the positioner and not the element
---
 .../Basic/src/main/royale/org/apache/royale/core/Application.as         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/Application.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/Application.as
index cbd8037..243159e 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/Application.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/Application.as
@@ -497,7 +497,7 @@ package org.apache.royale.core
                     addChild(c as DisplayObject);
             }
             COMPILE::JS {
-                this.element.appendChild(c.element as HTMLElement);
+                this.element.appendChild(c.positioner as HTMLElement);
                 (c as IUIBase).addedToParent();
             }
         }