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

Unified Diff: sky/sdk/lib/example/stocks2/lib/stock_arrow.dart

Issue 1214833004: Split Size into Size and Offset. (Closed) Base URL: https://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
« no previous file with comments | « sky/sdk/lib/example/rendering/touch_demo.dart ('k') | sky/sdk/lib/example/widgets/sector.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/example/stocks2/lib/stock_arrow.dart
diff --git a/sky/sdk/lib/example/stocks2/lib/stock_arrow.dart b/sky/sdk/lib/example/stocks2/lib/stock_arrow.dart
index 7207c0a0132990fa6a4d6c900a4e471ba6ca071b..95da33074234ad8c548757484d8474b6d148f14e 100644
--- a/sky/sdk/lib/example/stocks2/lib/stock_arrow.dart
+++ b/sky/sdk/lib/example/stocks2/lib/stock_arrow.dart
@@ -61,7 +61,7 @@ class StockArrow extends Component {
// Draw a circle that circumscribes the arrow.
paint.setStyle(sky.PaintingStyle.stroke);
- canvas.drawCircle(centerX, centerY, r, paint);
+ canvas.drawCircle(new Point(centerX, centerY), r, paint);
});
return new Container(
« no previous file with comments | « sky/sdk/lib/example/rendering/touch_demo.dart ('k') | sky/sdk/lib/example/widgets/sector.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698