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

Unified Diff: sky/examples/raw/touch_demo.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/raw/touch_demo.dart
diff --git a/sky/examples/raw/touch_demo.dart b/sky/examples/raw/touch_demo.dart
index c6ece943f23128660550c539b9c71ec0d8a357d9..19d698d74ad3c06d263e9097946b72f8fcdccae4 100644
--- a/sky/examples/raw/touch_demo.dart
+++ b/sky/examples/raw/touch_demo.dart
@@ -42,7 +42,7 @@ class RenderTouchDemo extends RenderBox {
RenderTouchDemo();
- void handleEvent(sky.Event event) {
+ void handleEvent(Event event, BoxHitTestData data) {
switch (event.type) {
case 'pointerdown':
int color = colors[event.pointer.remainder(colors.length)];

Powered by Google App Engine
This is Rietveld 408576698