Skip to content

Commit

Permalink
Merge pull request #45 from andrewlo/bugfix/noPageIndicator
Browse files Browse the repository at this point in the history
When the slide container does not have page indicators, changed events
  • Loading branch information
TheOriginalJosh authored Jun 24, 2016
2 parents 754bbd5 + 9a324f4 commit 5136b1d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nativescript-slides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,9 @@ export class SlideContainer extends AbsoluteLayout {
if (this.disablePan === false) {
this.applySwipe(this.pageWidth);
}
this.setActivePageIndicator(this.currentPanel.index);
if (this.pageIndicators) {
this.setActivePageIndicator(this.currentPanel.index);
}
this.rebindSlideShow();
}

Expand Down

0 comments on commit 5136b1d

Please sign in to comment.