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/08 21:07:42 UTC
[royale-asjs] branch feature/Crux updated: 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 e971ec7 we don't need bracket access for Element.animate method is already part of the JS API! :)
e971ec7 is described below
commit e971ec791d69ea41f0d46eb92abd3f9f84be0b6b
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Mon Jul 8 23:07:35 2019 +0200
we don't need bracket access for Element.animate method is already part of the JS API! :)
---
.../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 e4fa6bd..735aa60 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"] }
,
{