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

Unified Diff: samples/solar3d/web/solar.dart

Issue 12493003: Exposing Point & Rect types (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Sync to ToT Created 7 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 | « samples/dartcombat/views.dart ('k') | samples/spirodraw/web/colorpicker.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/solar3d/web/solar.dart
diff --git a/samples/solar3d/web/solar.dart b/samples/solar3d/web/solar.dart
index 6551c3b339ad219458795b53c7b4cefb89264587..d791f941069889b21561d0d2805a6f60a64c5ab0 100644
--- a/samples/solar3d/web/solar.dart
+++ b/samples/solar3d/web/solar.dart
@@ -173,7 +173,7 @@ class Solar3DApplication {
// We don't rotate the view if we don't own the mouse
return;
}
- controller.accumScroll += event.movementY;
+ controller.accumScroll += event.movement.y;
event.preventDefault();
}
« no previous file with comments | « samples/dartcombat/views.dart ('k') | samples/spirodraw/web/colorpicker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698