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:49 UTC

[royale-asjs] branch develop updated (43dbcae -> ffe0369)

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

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


    from 43dbcae  maven-distribution: add all themes to distribution so asconfigc.json does not complain
     new 8bf1ae7  ignores
     new ffe0369  We need to add the positioner and not the element

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../main/royale/org/apache/royale/core/Application.as   |  2 +-
 .../royale/html/beads/HideComboPopupOnMouseDownBead.as  | 17 ++++++++++++++---
 2 files changed, 15 insertions(+), 4 deletions(-)


[royale-asjs] 01/02: ignores

Posted by ha...@apache.org.
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 8bf1ae7f64909c45360a18ac649ac81b61657f95
Author: Harbs <ha...@in-tools.com>
AuthorDate: Fri Jan 17 13:57:00 2020 +0200

    ignores
---
 .../royale/html/beads/HideComboPopupOnMouseDownBead.as  | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/HideComboPopupOnMouseDownBead.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/HideComboPopupOnMouseDownBead.as
index fba3946..27464c8 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/HideComboPopupOnMouseDownBead.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/HideComboPopupOnMouseDownBead.as
@@ -55,8 +55,8 @@ package org.apache.royale.html.beads
 		 *  @playerversion Flash 10.2
 		 *  @playerversion AIR 2.6
 		 *  @productversion Royale 0.0
-		 *  @royaleignorecoercion HTMLInputElement
-		 *  @royaleignorecoercion org.apache.royale.core.UIBase;
+		 *  @royaleignorecoercion org.apache.royale.html.beads.IComboBoxView
+		 *  @royaleignorecoercion org.apache.royale.events.IEventDispatcher
 		 */
 		public function set strand(value:IStrand):void
 		{
@@ -68,7 +68,10 @@ package org.apache.royale.html.beads
 				IEventDispatcher(_strand).addEventListener("viewChanged", finishSetup);
 			}
 		}
-		
+		/**
+		 * @royaleignorecoercion org.apache.royale.html.beads.IComboBoxView
+		 * @royaleignorecoercion org.apache.royale.events.IEventDispatcher
+		 */
 		protected function finishSetup(event:Event):void
 		{
 			if (viewBead == null) {
@@ -83,6 +86,10 @@ package org.apache.royale.html.beads
 			event.stopImmediatePropagation();
 		}
 		
+		/**
+		 * @royaleignorecoercion org.apache.royale.core.IUIBase
+		 * @royaleignorecoercion org.apache.royale.events.IEventDispatcher
+		 */
 		protected function handlePopupShow(event:Event):void
 		{
 			IEventDispatcher(viewBead.popUp).addEventListener(MouseEvent.MOUSE_DOWN, handleControlMouseDown);
@@ -97,6 +104,10 @@ package org.apache.royale.html.beads
 			viewBead.popUpVisible = false;
 		}
 		
+		/**
+		 * @royaleignorecoercion org.apache.royale.core.IUIBase
+		 * @royaleignorecoercion org.apache.royale.events.IEventDispatcher
+		 */
 		protected function handlePopupHide(event:Event):void
 		{
 			IEventDispatcher(viewBead.popUp).removeEventListener(MouseEvent.MOUSE_DOWN, handleControlMouseDown);


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

Posted by ha...@apache.org.
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();
             }
         }