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 2018/03/27 10:55:28 UTC

[royale-asjs] 01/02: Should be a small optimization

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

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

commit 9448044c0b33cbe512d8ea69fd396ac729e88dc2
Author: Harbs <ha...@in-tools.com>
AuthorDate: Tue Mar 27 13:55:08 2018 +0300

    Should be a small optimization
---
 .../src/main/royale/org/apache/royale/html/beads/SpinnerView.as    | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/SpinnerView.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/SpinnerView.as
index 5df3889..3f5cffc 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/SpinnerView.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/SpinnerView.as
@@ -81,7 +81,9 @@ COMPILE::JS {
 		 *  @langversion 3.0
 		 *  @playerversion Flash 10.2
 		 *  @playerversion AIR 2.6
-		 *  @productversion Royale 0.0
+		 *  @productversion Royale 0.9
+		 *  @royaleignorecoercion org.apache.royale.core.UIBase
+		 *  @royaleignorecoercion org.apache.royale.events.IEventDispatcher
 		 */
 		override public function set strand(value:IStrand):void
 		{
@@ -112,11 +114,11 @@ COMPILE::JS {
 				_increment = new SpinnerButton();
 				_increment.text = '\u25B2';
 				_increment.positioner.style.display = 'block';
-				host.addElement(_increment);
 
 				_decrement = new SpinnerButton();
 				_decrement.text = '\u25BC';
 				_decrement.positioner.style.display = 'block';
+				host.addElement(_increment);
 				host.addElement(_decrement);
 
 // add this in CSS!
@@ -181,6 +183,7 @@ COMPILE::JS {
 
 		/**
 		 * @private
+		 * @royaleignorecoercion org.apache.royale.core.UIBase
 		 */
 		private function sizeChangeHandler( event:Event ) : void
 		{

-- 
To stop receiving notification emails like this one, please contact
harbs@apache.org.