mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-19 06:20:10 +00:00
background image fix
This commit is contained in:
@@ -3664,7 +3664,7 @@ LGraphCanvas.prototype.drawBackCanvas = function()
|
||||
}
|
||||
|
||||
var pattern = null;
|
||||
if(this._bg_img != this._pattern_img && this._bg_img.width > 0)
|
||||
if(this._pattern == null && this._bg_img.width > 0)
|
||||
{
|
||||
pattern = ctx.createPattern( this._bg_img, 'repeat' );
|
||||
this._pattern_img = this._bg_img;
|
||||
|
||||
Reference in New Issue
Block a user