Skip to content

Commit

Permalink
fix: Fix recipe scrolling behavior (#745)
Browse files Browse the repository at this point in the history
There are 3 items per row in the GUI.
  • Loading branch information
kylev authored Jan 6, 2025
1 parent 05d6fc4 commit 8254061
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ public void setCraftables(List<CraftableWithStatus> craftables) {
}

public void updateCraftableSlots() {
int i = scrollOffset * 5;
int i = scrollOffset * 3;
for (final var slot : recipeListingSlots) {
if (i < filteredCraftables.size()) {
final var craftable = filteredCraftables.get(i);
Expand Down

0 comments on commit 8254061

Please sign in to comment.