removed useless opacity settings
This commit is contained in:
parent
5004a5cf34
commit
a5fe95443f
1 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue