Commit 2a83f8e6 authored by Matt Perry's avatar Matt Perry

Fix failing test card_collection.dart.

parent 8886cae2
...@@ -175,13 +175,13 @@ class Dismissable extends StatefulComponent { ...@@ -175,13 +175,13 @@ class Dismissable extends StatefulComponent {
onGestureFlingStart: _handleFlingStart, onGestureFlingStart: _handleFlingStart,
child: new SizeObserver( child: new SizeObserver(
callback: _handleSizeChanged, callback: _handleSizeChanged,
child: new SlideTransition( child: new FadeTransition(
performance: _fadePerformance, performance: _fadePerformance,
position: new AnimatedValue<Point>(Point.origin, end: _activeCardDragEndPoint), onCompleted: _handleFadeCompleted,
child: new FadeTransition( opacity: new AnimatedValue<double>(1.0, end: 0.0),
child: new SlideTransition(
performance: _fadePerformance, performance: _fadePerformance,
onCompleted: _handleFadeCompleted, position: new AnimatedValue<Point>(Point.origin, end: _activeCardDragEndPoint),
opacity: new AnimatedValue<double>(1.0, end: 0.0),
child: child child: child
) )
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment