Skip to content

Commit 04a25c5

Browse files
committed
Small fix + jsdoc update.
1 parent 14733e9 commit 04a25c5

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/math/Math.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ Phaser.Math = {
157157
/**
158158
* Snap a value to nearest grid slice, using floor.
159159
*
160-
* Example: if you have an interval gap of 5 and a position of 12... you will snap to 10. As will 14 snap to 10... but 16 will snap to 15
160+
* Example: if you have an interval gap of 5 and a position of 12... you will snap to 10.
161+
* As will 14 snap to 10... but 16 will snap to 15.
161162
*
162163
* @method Phaser.Math#snapToFloor
163164
* @param {number} input - The value to snap.

src/tilemap/Tilemap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ Phaser.Tilemap.prototype = {
308308
}
309309
else
310310
{
311-
var newSet = new Phaser.Tileset(tilset, gid, tileWidth, tileHeight, tileMargin, tileSpacing, {});
311+
var newSet = new Phaser.Tileset(tileset, gid, tileWidth, tileHeight, tileMargin, tileSpacing, {});
312312

313313
newSet.setImage(img);
314314

0 commit comments

Comments
 (0)