Skip to content

Commit

Permalink
image_picker: Rework completely from scratch
Browse files Browse the repository at this point in the history
The new ImagePicker struct now more reliably choose the next
image based on the sorting method.

In ascending and descending sorting methods, it now takes in account
images that gets deleted and try to recover for that without starting
from the start.

In random sorting method, it now try to draw a new image that hasn't
been drawn in the last N (default 10 for now) images. It uses
the same vector used before to navigate the images already drawn
using next and previous commands.

Take in account the path changing with sorting as well.
  • Loading branch information
danyspin97 committed Feb 2, 2024
1 parent 2653a74 commit 501e0da
Show file tree
Hide file tree
Showing 2 changed files with 295 additions and 84 deletions.
Loading

0 comments on commit 501e0da

Please sign in to comment.