Skip to content

Commit edf0c17

Browse files
committed
Use TextPadding type in Text game object
1 parent 87e8eba commit edf0c17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gameobjects/text/static/Text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ var Text = new Class({
191191
* Allows you to add extra spacing if the browser is unable to accurately determine the true font dimensions.
192192
*
193193
* @name Phaser.GameObjects.Text#padding
194-
* @type {{left:number,right:number,top:number,bottom:number}}
194+
* @type {Phaser.Types.GameObjects.Text.TextPadding}
195195
* @since 3.0.0
196196
*/
197197
this.padding = { left: 0, right: 0, top: 0, bottom: 0 };

0 commit comments

Comments
 (0)