Skip to content

Commit bb2e263

Browse files
author
Michael Rehn
committed
Changed to bracket on new line to follow the rest of the codes style
1 parent e600cb8 commit bb2e263

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

src/tilemap/TilemapLayer.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -678,16 +678,19 @@ Phaser.TilemapLayer.prototype.resetTilesetCache = function ()
678678
* This method will set the scale of the tilemap as well as update the underlying block data of this layer
679679
*
680680
* @method Phaser.TilemapLayer#setScale
681-
* @param {number} [xScale=1] - The scale factor along the X-plane of this tilemap
682-
* @param {number} [yScale] - The scale factor along the Y-plane of this tilemap
681+
* @param {number} [xScale=1] - The scale factor along the X-plane
682+
* @param {number} [yScale] - The scale factor along the Y-plane
683683
*/
684684
Phaser.TilemapLayer.prototype.setScale = function(xScale, yScale) {
685685
xScale = xScale || 1;
686686
yScale = yScale || xScale;
687687

688-
for (var y = 0; y < this.layer.data.length; y++) {
688+
for (var y = 0; y < this.layer.data.length; y++)
689+
{
689690
var row = this.layer.data[y];
690-
for (var x = 0; x < row.length; x++) {
691+
692+
for (var x = 0; x < row.length; x++)
693+
{
691694
var tile = row[x];
692695

693696
tile.width = this.map.tileWidth * xScale;

0 commit comments

Comments
 (0)