Reset Alpha for CanvasRenderer

This commit is contained in:
Mat Groves 2014-01-28 20:25:39 +00:00
parent 68df2fdafd
commit 393d9f989e

View file

@ -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);
}