update build

This commit is contained in:
daine
2018-04-30 14:39:38 +02:00
parent 30a3886ec2
commit 750594698b

View File

@@ -4506,7 +4506,7 @@ LGraphCanvas.prototype.drawBackCanvas = function()
//render BG
if(this.background_image && this.scale > 0.5)
{
if (zoom_modify_alpha)
if (this.zoom_modify_alpha)
ctx.globalAlpha = (1.0 - 0.5 / this.scale) * this.editor_alpha;
else
ctx.globalAlpha = this.editor_alpha;