Skip to content

Commit

Permalink
Fix navigator (#237)
Browse files Browse the repository at this point in the history
* Fix navigator

* Fix navigator

* Fix navigator
  • Loading branch information
PiTheGuy authored Nov 2, 2024
1 parent 2983b4f commit fd66d9b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private void wrapIndex() {
}

public void decrementIndex() {
this.currentIndex--;
this.currentIndex = Math.max(this.currentIndex - 1, 0);
}

private void tryNavigate() {
Expand Down

0 comments on commit fd66d9b

Please sign in to comment.