mirror of
https://github.com/photonstorm/phaser
synced 2024-11-28 07:31:11 +00:00
Fixed the indentation of setStyle() examples.
This commit is contained in:
parent
a6b8b8ed31
commit
885b404b98
2 changed files with 13 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue