Merge pull request #4610 from Fabadiculous/master

Fix bug where graphics methods were using old names
This commit is contained in:
Richard Davey 2019-06-22 11:05:24 +01:00 committed by GitHub
commit f1490c71db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,8 +42,8 @@ var RenderDebug = function (graphics, styleConfig, layer)
var tiles = GetTilesWithin(0, 0, layer.width, layer.height, null, layer);
graphics.translate(layer.tilemapLayer.x, layer.tilemapLayer.y);
graphics.scale(layer.tilemapLayer.scaleX, layer.tilemapLayer.scaleY);
graphics.translateCanvas(layer.tilemapLayer.x, layer.tilemapLayer.y);
graphics.scaleCanvas(layer.tilemapLayer.scaleX, layer.tilemapLayer.scaleY);
for (var i = 0; i < tiles.length; i++)
{