Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: sky/framework/components/ink_splash.dart

Issue 1005753002: Scrollable should settle back to 0.0 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/framework/animation/generator.dart ('k') | sky/framework/components/scrollable.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/ink_splash.dart
diff --git a/sky/framework/components/ink_splash.dart b/sky/framework/components/ink_splash.dart
index a4c0a2587b481c6a98fa75796ef98e3754f20560..b31cc5f9d3bca1076b09a20b6b45fb4a77c58e3b 100644
--- a/sky/framework/components/ink_splash.dart
+++ b/sky/framework/components/ink_splash.dart
@@ -27,8 +27,11 @@ class SplashAnimation {
: _offsetX = x - rect.left,
_offsetY = y - rect.top {
- _animation = new AnimationGenerator(_kSplashDuration,
- end: _kSplashSize, curve: easeOut, onDone: onDone);
+ _animation = new AnimationGenerator(
+ duration:_kSplashDuration,
+ end: _kSplashSize,
+ curve: easeOut,
+ onDone: onDone);
_styleChanged = _animation.onTick.map((p) => '''
top: ${_offsetY - p/2}px;
« no previous file with comments | « sky/framework/animation/generator.dart ('k') | sky/framework/components/scrollable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698