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 12:05:12 UTC

[royale-asjs] branch develop updated: Missed two more

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


The following commit(s) were added to refs/heads/develop by this push:
     new 5516392  Missed two more
5516392 is described below

commit 551639212229ca4d3602e2b81a89b10963554527
Author: Harbs <ha...@in-tools.com>
AuthorDate: Fri Jan 17 14:04:48 2020 +0200

    Missed two more
---
 .../Basic/src/main/royale/org/apache/royale/core/Application.as       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 243159e..fc81e5d 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
@@ -579,7 +579,7 @@ package org.apache.royale.core
                 var n:int = children.length;
                 for (var i:int = 0; i < n; i++)
                 {
-                    if (children[i] == c.element)
+                    if (children[i] == c.positioner)
                         return i;
                 }
                 return -1;
@@ -606,7 +606,7 @@ package org.apache.royale.core
                     removeChild(c as DisplayObject);
             }
             COMPILE::JS {
-                element.removeChild(c.element as HTMLElement);
+                element.removeChild(c.positioner as HTMLElement);
             }
         }