From 30a3886ec239ad4df51e692f096bb89892c60c79 Mon Sep 17 00:00:00 2001 From: daine Date: Mon, 30 Apr 2018 14:39:07 +0200 Subject: [PATCH] fix typo --- src/litegraph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/litegraph.js b/src/litegraph.js index df5ffcde3..eb9c60734 100755 --- a/src/litegraph.js +++ b/src/litegraph.js @@ -4504,7 +4504,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;