You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/actions/AlignTo.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ var QuickSet = require('../display/align/to/QuickSet');
17
17
* @generic {Phaser.GameObjects.GameObject[]} G - [items,$return]
18
18
*
19
19
* @param {(array|Phaser.GameObjects.GameObject[])} items - The array of items to be updated by this action.
20
-
* @param {integer} position - The position to align the items with. This is an align constant, such as `Phaser.Display.Align.LEFT_CENTER`.
20
+
* @param {Phaser.Display.Align} position - The position to align the items with. This is an align constant, such as `Phaser.Display.Align.LEFT_CENTER`.
21
21
* @param {number} [offsetX=0] - Optional horizontal offset from the position.
22
22
* @param {number} [offsetY=0] - Optional vertical offset from the position.
* @param {Phaser.GameObjects.GameObject} child - The Game Object that will be positioned.
34
34
* @param {Phaser.GameObjects.GameObject} alignTo - The Game Object to base the alignment position on.
35
-
* @param {integer} position - The position to align the Game Object with. This is an align constant, such as `Phaser.Display.Align.LEFT_CENTER`.
35
+
* @param {Phaser.Display.Align} position - The position to align the Game Object with. This is an align constant, such as `Phaser.Display.Align.LEFT_CENTER`.
36
36
* @param {number} [offsetX=0] - Optional horizontal offset from the position.
37
37
* @param {number} [offsetY=0] - Optional vertical offset from the position.
0 commit comments