From e44180b8326f230e3d9389c9ff3ddccf84d3bb2c Mon Sep 17 00:00:00 2001 From: Will Miao Date: Mon, 19 Jan 2026 12:53:59 +0800 Subject: [PATCH] feat(ui): exclude lock button from drag init in LoRA widget Add `.lm-lora-lock-button` to the list of elements that should not trigger drag initialization in the LoRA widget event handler. This prevents unintended drag actions when interacting with the lock button, improving user experience and interaction clarity. --- web/comfyui/loras_widget_events.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/comfyui/loras_widget_events.js b/web/comfyui/loras_widget_events.js index c1fb1a3c..47a459a8 100644 --- a/web/comfyui/loras_widget_events.js +++ b/web/comfyui/loras_widget_events.js @@ -126,6 +126,7 @@ export function initDrag( e.target.closest('input') || e.target.closest('.lm-lora-arrow') || e.target.closest('.lm-lora-drag-handle') || + e.target.closest('.lm-lora-lock-button') || e.target.closest('.lm-lora-expand-button')) { return; }