| Index: sky/examples/game/lib/sprite.dart
|
| diff --git a/sky/examples/game/lib/sprite.dart b/sky/examples/game/lib/sprite.dart
|
| index 6202e20e30b4abced89a1f19f36f9fe7311b3145..c2394cc87f79c9ef92490254aff6c38e8c76848b 100644
|
| --- a/sky/examples/game/lib/sprite.dart
|
| +++ b/sky/examples/game/lib/sprite.dart
|
| @@ -106,7 +106,7 @@ class Sprite extends NodeWithSize {
|
| if (texture.rotated) {
|
| // Calculate the rotated frame and spriteSourceSize
|
| Size originalFrameSize = texture.frame.size;
|
| - Rect rotatedFrame = new Rect.fromPointAndSize(texture.frame.upperLeft, new Size(originalFrameSize.height, originalFrameSize.width));
|
| + Rect rotatedFrame = new Rect.fromPointAndSize(texture.frame.topLeft, new Size(originalFrameSize.height, originalFrameSize.width));
|
| Point rotatedSpriteSourcePoint = new Point(
|
| -texture.spriteSourceSize.top - (texture.spriteSourceSize.bottom - texture.spriteSourceSize.top),
|
| texture.spriteSourceSize.left);
|
|
|