forked from firka/flutter
Transition callers from 'concat' to 'transform'
See: https://github.com/flutter/flutter/issues/1080
This commit is contained in:
@@ -337,7 +337,7 @@ class SpriteBox extends RenderBox {
|
||||
|
||||
// Move to correct coordinate space before drawing
|
||||
canvas.translate(offset.dx, offset.dy);
|
||||
canvas.concat(transformMatrix.storage);
|
||||
canvas.transform(transformMatrix.storage);
|
||||
|
||||
// Draw the sprite tree
|
||||
Matrix4 totalMatrix = new Matrix4.fromFloat64List(canvas.getTotalMatrix());
|
||||
|
||||
Reference in New Issue
Block a user