Skip to content

Commit

Permalink
dummy commit (#1174)
Browse files Browse the repository at this point in the history
  • Loading branch information
noam-heller1 authored Dec 3, 2023
1 parent 792b28d commit d126c7d
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,6 @@ class SlideshowView extends React.Component {

scrollToThumbnail(itemIdx, scrollDuration) {
//not to confuse with this.props.actions.scrollToItem. this is used to replace it only for thumbnail items

this.props.actions.eventsListener(GALLERY_CONSTS.events.THUMBNAIL_CLICKED, this.props);
const activeIdx = this.state.activeIndex;
const targetIdx = activeIdx + (this.getFirstIdx(itemIdx) - this.getFirstIdx(activeIdx));
Expand Down

0 comments on commit d126c7d

Please sign in to comment.