You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/01/02 04:28:07 UTC

[royale-asjs] 01/02: fix applicationComplete event for JS

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

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

commit d691b043655ee428d821a7166f6fa88ff6200b13
Author: Alex Harui <ah...@apache.org>
AuthorDate: Tue Jan 1 20:27:36 2019 -0800

    fix applicationComplete event for JS
---
 .../projects/MXRoyale/src/main/royale/mx/core/Application.as       | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as
index a7f7be9..800f3a2 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as
@@ -575,6 +575,13 @@ public class Application extends Container implements IStrand, IParent, IEventDi
 	COMPILE::JS
 	protected var startupTimer:Timer;
 	
+    COMPILE::JS
+    override public function setActualSize(w:Number, h:Number):void
+    {
+        super.setActualSize(w, h);
+        start();
+    }
+    
 	/**
 	 * @royaleignorecoercion org.apache.royale.core.IBead
 	 */