removed useless opacity settings

This commit is contained in:
lengstrom 2014-06-28 15:33:31 -04:00
parent 5004a5cf34
commit a5fe95443f

View file

@ -129,10 +129,6 @@ function Clock(sideLength) {
};
this.draw = function() {
if (this.opacity < 1) {
ctx.globalAlpha = this.opacity;
}
this.x = trueCanvas.width/2;
if (gameState != -2) {
@ -160,7 +156,6 @@ function Clock(sideLength) {
}
drawPolygon(this.x + gdx, this.y + gdy + this.dy, this.sides, this.sideLength, this.angle,arrayToColor(this.fillColor) , 0, 'rgba(0,0,0,0)');
ctx.globalAlpha = 1;
};
}