mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 14:40:38 +00:00
Merge pull request #4610 from Fabadiculous/master
Fix bug where graphics methods were using old names
This commit is contained in:
commit
f1490c71db
1 changed files with 2 additions and 2 deletions
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue