Fixed an issue in Text. Fixed the background color issue with Canvas games. Updated the Examples viewer so the side-by-side focuses the iframe now. Added new "Extend Group" example.

This commit is contained in:
photonstorm
2013-11-25 13:12:03 +00:00
parent 299115ca5d
commit 06a17b4b26
11 changed files with 9984 additions and 9280 deletions
+4 -4
View File
@@ -202,10 +202,10 @@ Object.defineProperty(Phaser.Text.prototype, 'angle', {
/**
* The x coordinate of this object in world space.
* @name Phaser.BitmapText#x
* @name Phaser.Text#x
* @property {number} x - The x coordinate of this object in world space.
*/
Object.defineProperty(Phaser.BitmapText.prototype, 'x', {
Object.defineProperty(Phaser.Text.prototype, 'x', {
get: function() {
return this.position.x;
@@ -219,10 +219,10 @@ Object.defineProperty(Phaser.BitmapText.prototype, 'x', {
/**
* The y coordinate of this object in world space.
* @name Phaser.BitmapText#y
* @name Phaser.Text#y
* @property {number} y - The y coordinate of this object in world space.
*/
Object.defineProperty(Phaser.BitmapText.prototype, 'y', {
Object.defineProperty(Phaser.Text.prototype, 'y', {
get: function() {
return this.position.y;