mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +00:00
fix typo
This commit is contained in:
@@ -4504,7 +4504,7 @@ LGraphCanvas.prototype.drawBackCanvas = function()
|
|||||||
//render BG
|
//render BG
|
||||||
if(this.background_image && this.scale > 0.5)
|
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;
|
ctx.globalAlpha = (1.0 - 0.5 / this.scale) * this.editor_alpha;
|
||||||
else
|
else
|
||||||
ctx.globalAlpha = this.editor_alpha;
|
ctx.globalAlpha = this.editor_alpha;
|
||||||
|
|||||||
Reference in New Issue
Block a user