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

Unified Diff: sky/examples/game/lib/sprite_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
Index: sky/examples/game/lib/sprite_box.dart
diff --git a/sky/examples/game/lib/sprite_box.dart b/sky/examples/game/lib/sprite_box.dart
index 62e983a432b17a2c1cd4c342c54785311cede0fa..a01728470bcee13dce7963076afb7414722b730c 100644
--- a/sky/examples/game/lib/sprite_box.dart
+++ b/sky/examples/game/lib/sprite_box.dart
@@ -56,7 +56,7 @@ class SpriteBox extends RenderBox {
size = constraints.constrain(Size.infinite);
}
- void handleEvent(Event event) {
+ void handleEvent(Event event, BoxHitTestData data) {
switch (event.type) {
case 'pointerdown':
print("pointerdown");

Powered by Google App Engine
This is Rietveld 408576698