Skip to content

Commit a7371b9

Browse files
author
mk360
committed
[types] allow Text#setPadding to receive an object
1 parent 41c76d8 commit a7371b9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/gameobjects/text/static/Text.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,9 +1022,9 @@ var Text = new Class({
10221022
* @since 3.0.0
10231023
*
10241024
* @param {(number|Phaser.Types.GameObjects.Text.TextPadding)} left - The left padding value, or a padding config object.
1025-
* @param {number} top - The top padding value.
1026-
* @param {number} right - The right padding value.
1027-
* @param {number} bottom - The bottom padding value.
1025+
* @param {[number]} top - The top padding value.
1026+
* @param {[number]} right - The right padding value.
1027+
* @param {[number]} bottom - The bottom padding value.
10281028
*
10291029
* @return {this} This Text object.
10301030
*/

0 commit comments

Comments
 (0)