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

Unified Diff: sky/examples/raw/touch_demo.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/raw/sector_layout.dart ('k') | sky/examples/stocks2/lib/stock_app.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/raw/touch_demo.dart
diff --git a/sky/examples/raw/touch_demo.dart b/sky/examples/raw/touch_demo.dart
index f4c565940490c075c2abea5e51e122e4d23337ea..58caeea12e03ccde2a757d45696db59d0e816f93 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 handlePointer(PointerEvent event) {
+ void handleEvent(sky.Event event) {
switch (event.type) {
case 'pointerdown':
int color = colors[event.pointer.remainder(colors.length)];
« no previous file with comments | « sky/examples/raw/sector_layout.dart ('k') | sky/examples/stocks2/lib/stock_app.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698