flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject [04/10] git commit: [flex-asjs] [refs/heads/feature/mdl] - Use new AbsoluteLayoutTweener
Date Tue, 20 Dec 2016 07:35:45 GMT
Use new AbsoluteLayoutTweener


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/bd8d9a88
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/bd8d9a88
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/bd8d9a88

Branch: refs/heads/feature/mdl
Commit: bd8d9a88ae610f2a0e3a97d1561af81327c0fbc2
Parents: 3a6c20b
Author: yishayw <yishayjobs@hotmail.com>
Authored: Mon Dec 19 16:40:30 2016 +0200
Committer: yishayw <yishayjobs@hotmail.com>
Committed: Mon Dec 19 16:40:30 2016 +0200

----------------------------------------------------------------------
 .../apache/flex/effects/beads/EasyAccordionCollapseBead.as   | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bd8d9a88/frameworks/projects/Effects/src/main/flex/org/apache/flex/effects/beads/EasyAccordionCollapseBead.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/src/main/flex/org/apache/flex/effects/beads/EasyAccordionCollapseBead.as
b/frameworks/projects/Effects/src/main/flex/org/apache/flex/effects/beads/EasyAccordionCollapseBead.as
index df7a163..fd2bc07 100644
--- a/frameworks/projects/Effects/src/main/flex/org/apache/flex/effects/beads/EasyAccordionCollapseBead.as
+++ b/frameworks/projects/Effects/src/main/flex/org/apache/flex/effects/beads/EasyAccordionCollapseBead.as
@@ -23,12 +23,10 @@ package org.apache.flex.effects.beads
 	import org.apache.flex.core.ILayoutParent;
 	import org.apache.flex.core.UIBase;
 	import org.apache.flex.events.Event;
-	import org.apache.flex.html.beads.layouts.IOneFlexibleChildLayout;
-	import org.apache.flex.html.supportClasses.ICollapsible;
-	import org.apache.flex.utils.LayoutTweener;
 	import org.apache.flex.html.beads.AccordionCollapseBead;
-	import org.apache.flex.html.beads.AccordionView;
 	import org.apache.flex.html.beads.IListView;
+	import org.apache.flex.html.supportClasses.ICollapsible;
+	import org.apache.flex.utils.AbsoluteLayoutTweener;
 	
 	public class EasyAccordionCollapseBead extends AccordionCollapseBead
 	{
@@ -66,7 +64,7 @@ package org.apache.flex.effects.beads
 				return;
 			}
 			var collapseHeight:Number = oldCollapsible.collapsedHeight;
-			var tweener:LayoutTweener = new LayoutTweener(layout, host as ILayoutParent);
+			var tweener:AbsoluteLayoutTweener = new AbsoluteLayoutTweener(layout, host as ILayoutParent);
 			tweener.setBaseline();
 			var oldLayoutChild:ILayoutChild = tweener.mockLayoutParent.contentView.getElementAt(oldChildIndex)
as ILayoutChild;
 			oldLayoutChild.height = collapseHeight;


Mime
View raw message