diff --git a/enigma-swing/src/main/java/org/quiltmc/enigma/gui/element/NavigatorPanel.java b/enigma-swing/src/main/java/org/quiltmc/enigma/gui/element/NavigatorPanel.java index 28bceb3e..3461fa8a 100644 --- a/enigma-swing/src/main/java/org/quiltmc/enigma/gui/element/NavigatorPanel.java +++ b/enigma-swing/src/main/java/org/quiltmc/enigma/gui/element/NavigatorPanel.java @@ -110,7 +110,7 @@ private void wrapIndex() { } public void decrementIndex() { - this.currentIndex--; + this.currentIndex = Math.max(this.currentIndex - 1, 0); } private void tryNavigate() {