mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-08-06 22:10:14 -03:00
fix(loras): allow toggle deselect on LoRA entry click
This commit is contained in:
@@ -280,8 +280,8 @@ export function addLorasWidget(node, name, opts, callback) {
|
||||
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
selectLora(name);
|
||||
container.focus(); // Focus container for keyboard events
|
||||
selectLora(name === selectedLora ? null : name);
|
||||
container.focus();
|
||||
});
|
||||
|
||||
// Conditionally create drag handle OR lock button
|
||||
|
||||
Reference in New Issue
Block a user