We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a70ee2e commit 011014dCopy full SHA for 011014d
1 file changed
v3/src/gameobjects/graphics/GraphicsCanvasRenderer.js
@@ -46,7 +46,7 @@ var GraphicsCanvasRenderer = function (renderer, src, interpolationPercentage, c
46
}
47
48
ctx.save();
49
- ctx.translate(srcX, srcY);
+ ctx.translate(srcX - cameraScrollX, srcY - cameraScrollY);
50
ctx.rotate(srcRotation);
51
ctx.scale(srcScaleX, srcScaleY);
52
ctx.fillStyle = '#fff';
0 commit comments