Fix failing test card_collection.dart.

This commit is contained in:
Matt Perry
2015-08-03 18:14:51 -04:00
parent 8886cae26f
commit 2a83f8e67c

View File

@@ -175,13 +175,13 @@ class Dismissable extends StatefulComponent {
onGestureFlingStart: _handleFlingStart,
child: new SizeObserver(
callback: _handleSizeChanged,
child: new SlideTransition(
child: new FadeTransition(
performance: _fadePerformance,
position: new AnimatedValue<Point>(Point.origin, end: _activeCardDragEndPoint),
child: new FadeTransition(
onCompleted: _handleFadeCompleted,
opacity: new AnimatedValue<double>(1.0, end: 0.0),
child: new SlideTransition(
performance: _fadePerformance,
onCompleted: _handleFadeCompleted,
opacity: new AnimatedValue<double>(1.0, end: 0.0),
position: new AnimatedValue<Point>(Point.origin, end: _activeCardDragEndPoint),
child: child
)
)