lmao you are really making me feel guilty about not merging your version ;)

This commit is contained in:
tim h 2023-01-14 09:47:50 -06:00
parent 51095160f1
commit 4f73aba5c2

View file

@ -799,20 +799,6 @@ const _generate = async (endpoint, request, bb, options = {}) => {
}); });
imageSelectMenu.appendChild(resourcebtn); imageSelectMenu.appendChild(resourcebtn);
const deletebtn = document.createElement("button");
deletebtn.textContent = "D";
deletebtn.title = "Delete Image";
deletebtn.addEventListener("click", async () => {
images.splice(at, 1);
seeds.splice(at, 1);
at = Math.min(at, images.length - 1);
imageindextxt.textContent = `${at}/${images.length - 1}`;
redraw();
});
imageSelectMenu.appendChild(deletebtn);
const savebtn = document.createElement("button"); const savebtn = document.createElement("button");
savebtn.textContent = "S"; savebtn.textContent = "S";
savebtn.title = "Download image to computer"; savebtn.title = "Download image to computer";