mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 23:00:51 +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…
Reference in New Issue
Block a user