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

Unified Diff: sky/sdk/lib/framework/rendering/box.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/radio.dart ('k') | sky/specs/style-guide.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/rendering/box.dart
diff --git a/sky/sdk/lib/framework/rendering/box.dart b/sky/sdk/lib/framework/rendering/box.dart
index efbef3d22a0389e8513ed24e912b12e8e30c1590..6a8968676da24626bc4a01f09d150adaac4a6bf5 100644
--- a/sky/sdk/lib/framework/rendering/box.dart
+++ b/sky/sdk/lib/framework/rendering/box.dart
@@ -811,7 +811,7 @@ class RenderSizeObserver extends RenderProxyBox {
}
}
-typedef void CustomPaintCallback(sky.Canvas canvas);
+typedef void CustomPaintCallback(sky.Canvas canvas, Size size);
class RenderCustomPaint extends RenderProxyBox {
@@ -839,7 +839,7 @@ class RenderCustomPaint extends RenderProxyBox {
void paint(RenderObjectDisplayList canvas) {
assert(_callback != null);
- _callback(canvas);
+ _callback(canvas, size);
super.paint(canvas);
}
}
« no previous file with comments | « sky/sdk/lib/framework/components2/radio.dart ('k') | sky/specs/style-guide.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698