diff --git a/src/core/graphics/Graphics.js b/src/core/graphics/Graphics.js index c7641f6..8a20733 100644 --- a/src/core/graphics/Graphics.js +++ b/src/core/graphics/Graphics.js @@ -735,10 +735,9 @@ } this._spriteRect = new Sprite(Graphics._SPRITE_TEXTURE); - this._spriteRect.tint = this.graphicsData[0].fillColor; - this._spriteRect.alpha = this.graphicsData[0].fillAlpha; } - + this._spriteRect.tint = this.graphicsData[0].fillColor; + this._spriteRect.alpha = this.graphicsData[0].fillAlpha; this._spriteRect.worldAlpha = this.worldAlpha * this._spriteRect.alpha; Graphics._SPRITE_TEXTURE._frame.width = rect.width;