Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding new images resets the current image index #43

Open
rraziel opened this issue Jan 20, 2019 · 0 comments
Open

Adding new images resets the current image index #43

rraziel opened this issue Jan 20, 2019 · 0 comments

Comments

@rraziel
Copy link

rraziel commented Jan 20, 2019

When modifying the images array (e.g. adding 3 new images to it), the current image index is lost.
While this may be fine - as the array may contain entirely new images unrelated to the previous batch - there is seemingly currently no way of saving the current index then re-applying it, as doing it via setActiveImage right after modifying the array appears to be too early.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant