Index: sky/sdk/lib/framework/app.dart |
diff --git a/sky/sdk/lib/framework/app.dart b/sky/sdk/lib/framework/app.dart |
index 6f536e7bfc21570e2a62b3eb221240e2a0fe784e..cfaa57fec65c3e4a11c433c41a973d10db5d0ce8 100644 |
--- a/sky/sdk/lib/framework/app.dart |
+++ b/sky/sdk/lib/framework/app.dart |
@@ -41,7 +41,7 @@ class AppView { |
switch(event.type) { |
case 'pointerdown': |
result = new HitTestResult(); |
- _renderView.hitTest(result, x: event.x, y: event.y); |
+ _renderView.hitTest(result, position: new sky.Point(event.x, event.y)); |
_hitTestResultForPointer[event.pointer] = result; |
break; |
case 'pointerup': |
@@ -54,7 +54,7 @@ class AppView { |
// In the case of mouse hover we won't already have a cached down. |
if (result == null) { |
result = new HitTestResult(); |
- _renderView.hitTest(result, x: event.x, y: event.y); |
+ _renderView.hitTest(result, position: new sky.Point(event.x, event.y)); |
} |
break; |
} |