GuiCraftConfirm Tall Mode now depends on tall terminal config (#335)

* Tall Mode now depends on tall terminal config

* spotlessApply (#336)

Co-authored-by: GitHub GTNH Actions <>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
firenooGitHub GTNH Actionsgithub-actions[bot]
authored and GitHub committed 2023-06-10 19:20:09 +02:00
1 parent 3edfa08e8c
commit f271fb50b3
1 file changed
+3 -1
@@ -33,6 +33,7 @@ import appeng.client.gui.AEBaseGui;
import appeng.client.gui.widgets.*;
import appeng.container.implementations.ContainerCraftConfirm;
import appeng.container.implementations.CraftingCPUStatus;
import appeng.core.AEConfig;
import appeng.core.AELog;
import appeng.core.localization.ButtonToolTips;
import appeng.core.localization.GuiColors;
@@ -116,7 +117,7 @@ public class GuiCraftConfirm extends AEBaseGui implements ICraftingCPUTableHolde
private final List<IAEItemStack> visual = new ArrayList<>();
private DisplayMode displayMode = DisplayMode.LIST;
private boolean tallMode = true;
private boolean tallMode;
private GuiBridge OriginalGui;
private GuiButton cancel;
@@ -133,6 +134,7 @@ public class GuiCraftConfirm extends AEBaseGui implements ICraftingCPUTableHolde
public GuiCraftConfirm(final InventoryPlayer inventoryPlayer, final ITerminalHost te) {
super(new ContainerCraftConfirm(inventoryPlayer, te));
this.craftingTree = new GuiCraftingTree(this, 9, 19, 203, 192);
this.tallMode = AEConfig.instance.getConfigManager().getSetting(Settings.TERMINAL_STYLE) == TerminalStyle.TALL;
recalculateScreenSize();
scrollbar = new GuiScrollbar();