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

Unified Diff: sky/sdk/lib/framework/components2/floating_action_button.dart

Issue 1174203002: Clip inkwell splash around the floating action button (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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
Index: sky/sdk/lib/framework/components2/floating_action_button.dart
diff --git a/sky/sdk/lib/framework/components2/floating_action_button.dart b/sky/sdk/lib/framework/components2/floating_action_button.dart
index d660b332bc7b7b770e58c257fe169e7ec7653a68..23cf45120c00e6569cf4eaf9749d0ce499aa8bf5 100644
--- a/sky/sdk/lib/framework/components2/floating_action_button.dart
+++ b/sky/sdk/lib/framework/components2/floating_action_button.dart
@@ -40,10 +40,14 @@ class FloatingActionButton extends Component {
paint.setDrawLooper(builder.build());
canvas.drawCircle(radius, radius, radius, paint);
},
- child: new Container(
- width: _kSize,
- height: _kSize,
- child: new InkWell(children: children))),
+ child: new ClipCircle(
abarth-chromium 2015/06/10 22:33:44 ClipCircle -> ClipOval?
+ child: new Container(
+ width: _kSize,
+ height: _kSize,
+ child: new InkWell(children: children)
+ )
+ )
+ ),
level: level);
}

Powered by Google App Engine
This is Rietveld 408576698