Fixed the indentation of setStyle() examples.

This commit is contained in:
Chris Andrew 2018-06-14 14:41:17 +01:00
parent a6b8b8ed31
commit 885b404b98
2 changed files with 13 additions and 13 deletions

View file

@ -326,13 +326,13 @@ var TextStyle = new Class({
* For example:
*
* ```javascript
* text.style.setStyle({
* fontSize: '64px',
* fontFamily: 'Arial',
* color: '#ffffff',
* align: 'center',
* backgroundColor: '#ff00ff'
* });
* text.setStyle({
* fontSize: '64px',
* fontFamily: 'Arial',
* color: '#ffffff',
* align: 'center',
* backgroundColor: '#ff00ff'
* });
* ```
*
* @method Phaser.GameObjects.Text.TextStyle#setStyle

View file

@ -546,12 +546,12 @@ var Text = new Class({
*
* ```javascript
* text.setStyle({
* fontSize: '64px',
* fontFamily: 'Arial',
* color: '#ffffff',
* align: 'center',
* backgroundColor: '#ff00ff'
* });
* fontSize: '64px',
* fontFamily: 'Arial',
* color: '#ffffff',
* align: 'center',
* backgroundColor: '#ff00ff'
* });
* ```
*
* @method Phaser.GameObjects.Text#setStyle