From acb51c26c51f659bd9ad6c86f3195f04d55cd3d3 Mon Sep 17 00:00:00 2001 From: 4gname Date: Sat, 5 Feb 2022 12:21:41 +0700 Subject: [PATCH] remove hotfix scroll button --- .../scala/extracells/gui/GuiFluidTerminal.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/main/scala/extracells/gui/GuiFluidTerminal.java b/src/main/scala/extracells/gui/GuiFluidTerminal.java index 3a36734..a8552ec 100644 --- a/src/main/scala/extracells/gui/GuiFluidTerminal.java +++ b/src/main/scala/extracells/gui/GuiFluidTerminal.java @@ -178,12 +178,6 @@ private void drawTooltip(int x2, int y2) { list.add("Update Fluids"); list.add(EnumChatFormatting.GRAY + "Causes update list of fluids in the gui"); } - if (y >= 105 && y <= 121) { - list.add("Scroll Up"); - } - if (y >= 125 && y <= 141) { - list.add("Scroll Down"); - } } if (!list.isEmpty()) drawHoveringText(list, x2, y2, fontRendererObj); @@ -201,8 +195,6 @@ public void initGui() { this.buttonList.add(new GuiImgButton(2, 0, 16, this.guiLeft - 17, this.guiTop + 45, "Name fluids (A..z)")); this.buttonList.add(new GuiImgButton(3, 16, 16, this.guiLeft - 17, this.guiTop + 65, "Name fluids (z..A)")); this.buttonList.add(new GuiImgButton(4, 32, 16, this.guiLeft - 17, this.guiTop + 85, "Update Fluids")); - this.buttonList.add(new GuiImgButton(5, 0, 32, this.guiLeft - 17, this.guiTop + 105, "Up")); - this.buttonList.add(new GuiImgButton(6, 16, 32, this.guiLeft - 17, this.guiTop + 125, "Down")); updateFluids(); this.searchbar = new GuiTextField(this.fontRendererObj, this.guiLeft + 81, this.guiTop + 6, 88, 10) { @@ -244,12 +236,6 @@ public void actionPerformed(GuiButton button) { new PacketFluidTerminal(this.player, this.terminal).sendPacketToServer(); updateFluids(); break; - case 5: - this.currentScroll--; - break; - case 6: - this.currentScroll++; - break; } }