Closed christian-byrne closed 2 months ago
In ComfyUI_frontend v1.2.48, this line:
https://github.com/shadowcz007/comfyui-mixlab-nodes/blob/67b4ec3178918b3b9385768876a81e4d667f2e9a/web/javascript/td_background.js#L62
Was changed to:
ctx.setTransform(window.devicePixelRatio, 0, 0, window.devicePixelRatio, 0, 0)
See: Comfy-Org/litegraph.js#116
Scale was also applied to drawFrontCanvas. So when comfyui-mixlab-nodes and ComfyUI_frontend v1.2.48^ are installed together, the front and back canvas receive different scale factors.
drawFrontCanvas
Issue:
Fixed by https://github.com/shadowcz007/comfyui-mixlab-nodes/commit/d9edbd535eb6f5705583833e3133b11cc95b27c4
In ComfyUI_frontend v1.2.48, this line:
https://github.com/shadowcz007/comfyui-mixlab-nodes/blob/67b4ec3178918b3b9385768876a81e4d667f2e9a/web/javascript/td_background.js#L62
Was changed to:
See: Comfy-Org/litegraph.js#116
Scale was also applied to
drawFrontCanvas
. So when comfyui-mixlab-nodes and ComfyUI_frontend v1.2.48^ are installed together, the front and back canvas receive different scale factors.Issue: