Skip to content

Commit 255232d

Browse files
committed
Fix bug where graphics methods were not renamed
1 parent 96f96a7 commit 255232d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/tilemaps/components/RenderDebug.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ var RenderDebug = function (graphics, styleConfig, layer)
4242

4343
var tiles = GetTilesWithin(0, 0, layer.width, layer.height, null, layer);
4444

45-
graphics.translate(layer.tilemapLayer.x, layer.tilemapLayer.y);
46-
graphics.scale(layer.tilemapLayer.scaleX, layer.tilemapLayer.scaleY);
45+
graphics.translateCanvas(layer.tilemapLayer.x, layer.tilemapLayer.y);
46+
graphics.scaleCanvas(layer.tilemapLayer.scaleX, layer.tilemapLayer.scaleY);
4747

4848
for (var i = 0; i < tiles.length; i++)
4949
{

0 commit comments

Comments
 (0)