| Index: sky/sdk/example/game/lib/node_with_size.dart
|
| diff --git a/sky/sdk/example/game/lib/node_with_size.dart b/sky/sdk/example/game/lib/node_with_size.dart
|
| index 15503d26922b5394fb28884f3092de3c39d38f18..0e56ded4012e3e8001ec5db49acacdf4e93b76f8 100644
|
| --- a/sky/sdk/example/game/lib/node_with_size.dart
|
| +++ b/sky/sdk/example/game/lib/node_with_size.dart
|
| @@ -32,7 +32,7 @@ abstract class NodeWithSize extends Node {
|
| /// If you use this method you will need to save and restore your canvas at the beginning and
|
| /// end of your [paint] method.
|
| ///
|
| - /// void paint(RenderCanvas canvas) {
|
| + /// void paint(PaintingCanvas canvas) {
|
| /// canvas.save();
|
| /// applyTransformForPivot(canvas);
|
| ///
|
| @@ -40,7 +40,7 @@ abstract class NodeWithSize extends Node {
|
| ///
|
| /// canvas.restore();
|
| /// }
|
| - void applyTransformForPivot(RenderCanvas canvas) {
|
| + void applyTransformForPivot(PaintingCanvas canvas) {
|
| if (pivot.x != 0 || pivot.y != 0) {
|
| double pivotInPointsX = size.width * pivot.x;
|
| double pivotInPointsY = size.height * pivot.y;
|
|
|