mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-08-06 22:10:14 -03:00
widget.value is a getter/setter that returns a new array on every read, so handleStrengthDrag with updateWidget=false mutated a discarded copy. Introduce __dragActive flag to suppress renderLoras in setValue during drag, allowing mutations to persist through widget.value without destroying the DOM. Use try-finally to guarantee flag cleanup.
33 KiB
33 KiB