fix bug in slideshow cycling

This commit is contained in:
jmillman 2014-09-05 14:02:07 -04:00
parent bfc4f8498d
commit c116ab5b58

View File

@ -270,7 +270,7 @@ public class SlideShowView extends SingleDrawableViewBase implements TagUtils.Ta
if (fileID != null) {
int index = groupPane.getGrouping().fileIds().indexOf(fileID);
final int size = groupPane.getGrouping().fileIds().size();
index += d;
index = (index + d) % size;
if (index < 0) {
index += size;
}