Skip to content

allow for images in random order#140

Merged
gegu merged 1 commit intoLukeSkywalker92:developfrom
call-me-matt:feature/random-order
Sep 12, 2020
Merged

allow for images in random order#140
gegu merged 1 commit intoLukeSkywalker92:developfrom
call-me-matt:feature/random-order

Conversation

@call-me-matt
Copy link
Copy Markdown

@call-me-matt call-me-matt commented Jul 30, 2020

fixes #133

Comment thread js/renderer.js
currentImageIndex = images.length;
loadImage(true, 0);
currentImageIndex = 0;
loadImage(false, 0, true);
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please verify this is ok. Need to jump directly to a new picture, as the other logic won't work in random order.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it has the side-effect that when new pictures come in while in pause, the picture changes to the latest one? (To be investigated)

@LukeSkywalker92 LukeSkywalker92 requested a review from gegu August 18, 2020 13:48
@gegu gegu changed the base branch from master to develop September 12, 2020 14:07
Copy link
Copy Markdown
Collaborator

@gegu gegu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the extension fits.

I merge it into the develop branch.

We had a problem that the master was before the develop branch, which I fixed.
In the future we should stick to the workflow, otherwise the merges will get complicated.

@gegu gegu merged commit 0b391f6 into LukeSkywalker92:develop Sep 12, 2020
@call-me-matt
Copy link
Copy Markdown
Author

Great! Thank you

@call-me-matt call-me-matt deleted the feature/random-order branch September 12, 2020 15:12
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

Successfully merging this pull request may close these issues.

Random Picture View

2 participants