You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2024/12/09 22:07:38 UTC
(royale-asjs) 03/07: MXRoyale: SystemManager override of addChildAt() for SWF was not passing the index to super.addChildAt()
This is an automated email from the ASF dual-hosted git repository.
joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit cefac782ef7465a20f3c9bdc26c011816a7391b1
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Wed Oct 9 13:19:40 2024 -0700
MXRoyale: SystemManager override of addChildAt() for SWF was not passing the index to super.addChildAt()
---
.../projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
index 8853fbaf79..af6debe60a 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
@@ -1785,7 +1785,7 @@ public class SystemManager extends SystemManagerBase implements ISystemManager,
}
COMPILE::SWF
{
- var ret:DisplayObject = super.addChildAt(child as DisplayObject);
+ var ret:DisplayObject = super.addChildAt(child as DisplayObject, index);
if (ret is IUIBase)
(ret as IUIBase).addedToParent();
return ret as IUIComponent;