Skip to content

Commit

Permalink
Fix collapse button
Browse files Browse the repository at this point in the history
  • Loading branch information
UnRealDinnerbone committed Sep 27, 2024
1 parent e935ab3 commit 49ad52e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ public AbstractGroupedButtonListScreen(Component title) {
.forEach(collapsed::add);

buttonExpandAll = new SimpleButton(topPanel, List.of(Component.translatable("gui.expand_all"), hotkeyTooltip("="), hotkeyTooltip("+")), Icons.UP,
(widget, button) -> toggleAll(true));
buttonCollapseAll = new SimpleButton(topPanel, List.of(Component.translatable("gui.collapse_all"), hotkeyTooltip("-")), Icons.DOWN,
(widget, button) -> toggleAll(false));
buttonCollapseAll = new SimpleButton(topPanel, List.of(Component.translatable("gui.collapse_all"), hotkeyTooltip("-")), Icons.DOWN,
(widget, button) -> toggleAll(true));
}

protected abstract List<GroupData<G, E>> getGroups();
Expand Down

0 comments on commit 49ad52e

Please sign in to comment.