Skip to content

Commit

Permalink
fix: Fix recipe scrolling behavior (#745) (#746)
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 7, 2025
1 parent a6a0672 commit d2a64a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ public void setCraftables(List<RecipeWithStatus> 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 d2a64a3

Please sign in to comment.