Skip to content

Commit 0d8a9bb

Browse files
committed
Fixed TextSyle typo. Fix phaserjs#4630
1 parent 5a90e1f commit 0d8a9bb

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/gameobjects/text/TextStyle.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ var propertyMap = {
5454
* @since 3.0.0
5555
*
5656
* @param {Phaser.GameObjects.Text} text - The Text object that this TextStyle is styling.
57-
* @param {Phaser.Types.GameObjects.Text.TextSyle} style - The style settings to set.
57+
* @param {Phaser.Types.GameObjects.Text.TextStyle} style - The style settings to set.
5858
*/
5959
var TextStyle = new Class({
6060

@@ -340,7 +340,7 @@ var TextStyle = new Class({
340340
* @method Phaser.GameObjects.TextStyle#setStyle
341341
* @since 3.0.0
342342
*
343-
* @param {Phaser.Types.GameObjects.Text.TextSyle} style - The style settings to set.
343+
* @param {Phaser.Types.GameObjects.Text.TextStyle} style - The style settings to set.
344344
* @param {boolean} [updateText=true] - Whether to update the text immediately.
345345
* @param {boolean} [setDefaults=false] - Use the default values is not set, or the local values.
346346
*

src/gameobjects/text/static/Text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ var TextStyle = require('../TextStyle');
8181
* @param {number} x - The horizontal position of this Game Object in the world.
8282
* @param {number} y - The vertical position of this Game Object in the world.
8383
* @param {(string|string[])} text - The text this Text object will display.
84-
* @param {Phaser.Types.GameObjects.Text.TextSyle} style - The text style configuration object.
84+
* @param {Phaser.Types.GameObjects.Text.TextStyle} style - The text style configuration object.
8585
*/
8686
var Text = new Class({
8787

src/gameobjects/text/typedefs/TextStyle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* A Text Style configuration object as used by the Text Game Object.
33
*
4-
* @typedef {object} Phaser.Types.GameObjects.Text.TextSyle
4+
* @typedef {object} Phaser.Types.GameObjects.Text.TextStyle
55
* @since 3.0.0
66
*
77
* @property {string} [fontFamily='Courier'] - The font the Text object will render with. This is a Canvas style font string.

0 commit comments

Comments
 (0)