You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/06/08 15:52:23 UTC

[royale-asjs] branch develop updated: jewel-horizontallistscroll: improve bead

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

carlosrovira 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 668ae8e  jewel-horizontallistscroll: improve bead
668ae8e is described below

commit 668ae8ee72bf4cced777f45e0641261df2577875
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Mon Jun 8 17:52:13 2020 +0200

    jewel-horizontallistscroll: improve bead
---
 .../apache/royale/jewel/beads/controls/list/HorizontalListScroll.as  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/list/HorizontalListScroll.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/list/HorizontalListScroll.as
index 57213ad..58e7a33 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/list/HorizontalListScroll.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/list/HorizontalListScroll.as
@@ -20,7 +20,7 @@ package org.apache.royale.jewel.beads.controls.list
 {
 	import org.apache.royale.core.IBead;
 	import org.apache.royale.core.IStrand;
-	import org.apache.royale.jewel.List;
+	import org.apache.royale.utils.IClassSelectorListSupport;
 	
 	/**
 	 *  The HorizontalListScroll bead is a specialty bead that can be used with
@@ -52,11 +52,10 @@ package org.apache.royale.jewel.beads.controls.list
 		 *  @playerversion Flash 10.2
 		 *  @playerversion AIR 2.6
 		 *  @productversion Royale 0.9.4
-		 *  @royaleignorecoercion org.apache.royale.events.IEventDispatcher
 		 */
 		public function set strand(value:IStrand):void
 		{
-			var l:List = value as List;
+			var l:IClassSelectorListSupport = value as IClassSelectorListSupport;
 			l.addClass("horizontalScroll");
 		}
 	}