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

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

Issue 1175353002: Make the popup menu animation correct (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: style guide update 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
« no previous file with comments | « sky/sdk/lib/framework/components2/checkbox.dart ('k') | sky/sdk/lib/framework/components2/popup_menu.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 45680a8b7094af3ca5edeb299e7ab4abdbc61c43..b5555f1cf451c152528ba5307c9b5bee9ef453c0 100644
--- a/sky/sdk/lib/framework/components2/floating_action_button.dart
+++ b/sky/sdk/lib/framework/components2/floating_action_button.dart
@@ -30,7 +30,7 @@ class FloatingActionButton extends Component {
return new Material(
content: new CustomPaint(
- callback: (sky.Canvas canvas) {
+ callback: (sky.Canvas canvas, Size size) {
const double radius = _kSize / 2.0;
sky.Paint paint = new sky.Paint()..color = Red[500];
var builder = new ShadowDrawLooperBuilder()
« no previous file with comments | « sky/sdk/lib/framework/components2/checkbox.dart ('k') | sky/sdk/lib/framework/components2/popup_menu.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698