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

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

Issue 1146923005: Fix gesture events in fn2 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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/examples/fn2/container.dart ('k') | sky/examples/raw/ink_well.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5658dbd5b34fe0050f9b85057e86bb0bf264e836..6926200aed8e81103f9324bdd8e24f7781fc78ae 100644
--- a/sky/examples/game/lib/sprite_box.dart
+++ b/sky/examples/game/lib/sprite_box.dart
@@ -41,7 +41,7 @@ class SpriteBox extends RenderBox {
size = constraints.constrain(new Size.infinite());
}
- void handlePointer(PointerEvent event) {
+ void handleEvent(Event event) {
switch (event.type) {
case 'pointerdown':
print("pointerdown");
« no previous file with comments | « sky/examples/fn2/container.dart ('k') | sky/examples/raw/ink_well.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698