Reset Alpha for CanvasRenderer
This commit is contained in:
parent
68df2fdafd
commit
393d9f989e
1 changed files with 1 additions and 0 deletions
|
@ -175,6 +175,7 @@ PIXI.CanvasRenderer.prototype.render = function(stage)
|
|||
{
|
||||
if(!this.transparent)
|
||||
{
|
||||
this.context.globalAlpha = 1;
|
||||
this.context.fillStyle = stage.backgroundColorString;
|
||||
this.context.fillRect(0, 0, this.width, this.height);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue