mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-18 19:47:02 +08:00
Fix Clear and Delete
This commit is contained in:
parent
1fda5d19de
commit
53c444eb6b
@ -208,7 +208,7 @@ app.registerExtension({
|
||||
right: "5px",
|
||||
});
|
||||
clearButton.onclick = () => {
|
||||
imageList.replaceChildren(closeButton, clearButton);
|
||||
imageList.replaceChildren(menu, resizeHandle);
|
||||
};
|
||||
const deleteAllButton = makeButton("🗑️ Delete", {
|
||||
top: "55px",
|
||||
@ -216,7 +216,7 @@ app.registerExtension({
|
||||
});
|
||||
deleteAllButton.onclick = () => {
|
||||
api.deleteAllImages();
|
||||
imageList.replaceChildren(closeButton, clearButton);
|
||||
imageList.replaceChildren(menu, resizeHandle);
|
||||
};
|
||||
|
||||
showButton.classList.add("comfy-settings-btn");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user