Skip to content

Commit

Permalink
remove hotfix scroll button
Browse files Browse the repository at this point in the history
  • Loading branch information
aagrishankov committed Feb 5, 2022
1 parent 98e366b commit acb51c2
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/main/scala/extracells/gui/GuiFluidTerminal.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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) {
Expand Down Expand Up @@ -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;
}
}

Expand Down

0 comments on commit acb51c2

Please sign in to comment.