| Index: samples/swarm/swarm_ui_lib/touch/Geometry.dart
|
| diff --git a/samples/swarm/swarm_ui_lib/touch/Geometry.dart b/samples/swarm/swarm_ui_lib/touch/Geometry.dart
|
| index 0100a10e04517b8b0ed7b6bb5bb0ac3e2b7a7b0e..3bfea0fbd15be624849c6852cccca3370a9351fb 100644
|
| --- a/samples/swarm/swarm_ui_lib/touch/Geometry.dart
|
| +++ b/samples/swarm/swarm_ui_lib/touch/Geometry.dart
|
| @@ -26,7 +26,7 @@ class Coordinate {
|
| * Gets the coordinates of a touch's location relative to the window's
|
| * viewport. [input] is either a touch object or an event object.
|
| */
|
| - Coordinate.fromClient(var input) : this(input.clientX, input.clientY);
|
| + Coordinate.fromClient(var input) : this(input.client.x, input.client.y);
|
|
|
| static Coordinate difference(Coordinate a, Coordinate b) {
|
| return new Coordinate(a.x - b.x, a.y - b.y);
|
|
|