mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-11 16:10:05 +00:00
Use canvas.low_quality flag for DOMWidget show/hide (#2413)
This commit is contained in:
@@ -342,7 +342,7 @@ LGraphNode.prototype.addDOMWidget = function <
|
||||
const { offset, scale } = app.canvas.ds
|
||||
|
||||
const hidden =
|
||||
(!!options.hideOnZoom && scale < 0.5) ||
|
||||
(!!options.hideOnZoom && app.canvas.low_quality) ||
|
||||
widget.computedHeight <= 0 ||
|
||||
// @ts-expect-error Used by widgetInputs.ts
|
||||
widget.type === 'converted-widget' ||
|
||||
|
||||
Reference in New Issue
Block a user