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

Unified Diff: sky/examples/game/lib/game_box.dart

Issue 1180553002: Ink splashes should start at the touch point (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Use more specific types for GameBox and SpriteBox 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 | « no previous file | sky/examples/game/lib/sprite_box.dart » ('j') | sky/sdk/lib/framework/rendering/object.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/game/lib/game_box.dart
diff --git a/sky/examples/game/lib/game_box.dart b/sky/examples/game/lib/game_box.dart
index ee34eb91b43d767e2e3bf81cd48e59ebd293c3fc..ab6e45e355fb8792bf219414307ca017d69fa546 100644
--- a/sky/examples/game/lib/game_box.dart
+++ b/sky/examples/game/lib/game_box.dart
@@ -14,7 +14,7 @@ class GameBox extends SpriteBox {
int _secondPointer = -1;
Vector2 _firstPointerDownPos;
- void handleEvent(Event event) {
+ void handleEvent(Event event, BoxHitTestData data) {
if (event is PointerEvent) {
Vector2 pointerPos = new Vector2(event.x, event.y);
int pointer = event.pointer;
« no previous file with comments | « no previous file | sky/examples/game/lib/sprite_box.dart » ('j') | sky/sdk/lib/framework/rendering/object.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698