yfszzx / stable-diffusion-webui-images-browser

an images browse for stable-diffusion-webui
488 stars 234 forks source link

Delete is deleting the last clicked image instead of the currently viewed image #25

Open cakeller98 opened 1 year ago

cakeller98 commented 1 year ago

When using the keyboard to navigate forward and backward the 'delete' function will delete the last clicked image not the currently displayed image.

To replicate: click on an image navigate with left and right arrow keys to another image press del key, or delete button

expected behavior: delete the image that is currently shown *

actual behavior: deletes the image that was previously clicked.

--

yfszzx commented 1 year ago

I see,But I haven't found a technical solution to this problem

allkhor commented 1 year ago

Duplicate of #12?