Skip to content

Commit c3d3461

Browse files
authored
Fix PlaceOnRectangle JSDoc
The shift value defaults to 0
1 parent d7baf55 commit c3d3461

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/actions/PlaceOnRectangle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var RotateRight = require('../utils/array/RotateRight');
2121
*
2222
* @param {(array|Phaser.GameObjects.GameObject[])} items - An array of Game Objects. The contents of this array are updated by this Action.
2323
* @param {Phaser.Geom.Rectangle} rect - The Rectangle to position the Game Objects on.
24-
* @param {number} [shift=1] - An optional positional offset.
24+
* @param {number} [shift=0] - An optional positional offset.
2525
*
2626
* @return {(array|Phaser.GameObjects.GameObject[])} The array of Game Objects that was passed to this Action.
2727
*/

0 commit comments

Comments
 (0)