zero01101 / openOutpaint

local offline javascript and html canvas outpainting gizmo for stable diffusion webUI API 🐠
MIT License
499 stars 43 forks source link

Add ability to mark images #196

Closed ribawaja closed 1 year ago

ribawaja commented 1 year ago

Added a "*" button to the image select menu (keyboard shortcut: "*") which marks the current image.

Scroll through only the images which have been marked by using Shift key + existing image navigation control, e.g. Shift + mouse scroll up/down, Shift + click "<" or ">" buttons on image select menu, or Shift + "<" or ">" keyboard shortcuts.

The image index text displays the marked indicator, e.g. "*6/54" indicates that the current image (6) is marked. Pressing "*" while on a marked image will unmark the image. Marked image indices are correctly adjusted when images are removed from the list with "-".

zero01101 commented 1 year ago

apologies that i haven't gotten a chance to check this out yet D: glancing over the code seemed perfectly fine and scout's honor i'll give it a proper once over, uh, soonish

ribawaja commented 1 year ago

No worries! Feel free to suggest changes to the interface or behavior. I'm playing around with it now, seems to work nicely, saves time.

zero01101 commented 1 year ago

apologies that it took so long!

ribawaja commented 1 year ago

Thanks! And thanks for making such an awesome tool.