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 2019/07/09 11:30:56 UTC

[royale-asjs] branch feature/Crux updated: Revert "we don't need bracket access for Element.animate method is already part of the JS API! :)"

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

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


The following commit(s) were added to refs/heads/feature/Crux by this push:
     new 78530e8  Revert "we don't need bracket access for Element.animate method is already part of the JS API! :)"
78530e8 is described below

commit 78530e8fbf6b418b9a91ccb855d1080adbbc9420
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Tue Jul 9 13:30:32 2019 +0200

    Revert "we don't need bracket access for Element.animate method is already part of the JS API! :)"
    
    This reverts commit 2bf310a82f816cdb5073d37d4188c60600763901.
---
 .../org/apache/royale/jewel/itemRenderers/TabBarButtonItemRenderer.as   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/itemRenderers/TabBarButtonItemRenderer.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/itemRenderers/TabBarButtonItemRenderer.as
index 735aa60..e4fa6bd 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/itemRenderers/TabBarButtonItemRenderer.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/itemRenderers/TabBarButtonItemRenderer.as
@@ -194,7 +194,7 @@ package org.apache.royale.jewel.itemRenderers
 		COMPILE::JS
 		public function animateIndicator(positionDiff:Number, widthDiff:Number, duration:int, easingFunction:String):void
 		{
-			indicator_content.animate(
+			indicator_content["animate"](
 				{ transform: ["translateX(" + positionDiff + "px) scaleX(" + widthDiff + ")", "none"] }
 				, 
 				{