Skip to content

Commit

Permalink
adjusted buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke100000 committed May 27, 2023
1 parent 03425a8 commit 3457c41
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -727,14 +727,14 @@ private void rebuild() {
setSelectionPage(selectionPage);

//sorting icons
addDrawableChild(new ToggleableTooltipIconButtonWidget(width / 2 + 150, height / 2 + 82, 6 * 16, 3 * 16,
addDrawableChild(new ToggleableTooltipIconButtonWidget(width / 2 + 130, height / 2 + 82, 6 * 16, 3 * 16,
sortingMode == SortingMode.LIKES,
Text.translatable("gui.skin_library.sort_likes"),
v -> {
sortingMode = SortingMode.LIKES;
updateSearch();
}));
addDrawableChild(new ToggleableTooltipIconButtonWidget(width / 2 + 150 + 22, height / 2 + 82, 7 * 16, 3 * 16,
addDrawableChild(new ToggleableTooltipIconButtonWidget(width / 2 + 130 + 22, height / 2 + 82, 7 * 16, 3 * 16,
sortingMode == SortingMode.NEWEST,
Text.translatable("gui.skin_library.sort_newest"),
v -> {
Expand Down

0 comments on commit 3457c41

Please sign in to comment.