mirror of
https://github.com/wassname/phaser.git
synced 2026-09-11 12:31:29 +08:00
Tween no longer copies all the object properties into the _valuesStart object on creation.
Fixed shadow bug in Debug.text Fixed tween examples.
This commit is contained in:
+4
-3
@@ -581,15 +581,16 @@ Phaser.Utils.Debug.prototype = {
|
||||
|
||||
this.start();
|
||||
this.context.font = font;
|
||||
this.context.fillStyle = color;
|
||||
this.context.fillText(text, x, y);
|
||||
|
||||
if (this.renderShadow)
|
||||
{
|
||||
this.context.fillStyle = 'rgb(0,0,0)';
|
||||
this.context.fillText(text, this.currentX + 1, this.currentY + 1);
|
||||
this.context.fillText(text, x + 1, y + 1);
|
||||
}
|
||||
|
||||
this.context.fillStyle = color;
|
||||
this.context.fillText(text, x, y);
|
||||
|
||||
this.stop();
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user