mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-08-07 14:30:15 -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.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
selectLora(name);
|
selectLora(name === selectedLora ? null : name);
|
||||||
container.focus(); // Focus container for keyboard events
|
container.focus();
|
||||||
});
|
});
|
||||||
|
|
||||||
// Conditionally create drag handle OR lock button
|
// Conditionally create drag handle OR lock button
|
||||||
|
|||||||
Reference in New Issue
Block a user