mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-10-26 14:25:20 +00:00
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:
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();
|
||||
|
||||
Reference in new issue
Block a user