Skip to content

Commit

Permalink
Fix some logic programmer inputs being rendered incorrectly
Browse files Browse the repository at this point in the history
Closes #1289
  • Loading branch information
rubensworks committed Jul 30, 2023
1 parent a3d926d commit 9650838
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static int calculateY(int baseY, int maxHeight, IConfigRenderPattern conf
}

protected void drawSlot(GuiGraphics guiGraphics, int x, int y) {
guiGraphics.blit(this.texture, x, y, 19, 0, 18, 18);
guiGraphics.blit(SubGuiBox.TEXTURE, x, y, 19, 0, 18, 18);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import org.cyclops.cyclopscore.helper.L10NHelpers;
import org.cyclops.integrateddynamics.IntegratedDynamics;
import org.cyclops.integrateddynamics.client.gui.container.ContainerScreenLogicProgrammerBase;
import org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiBox;
import org.cyclops.integrateddynamics.core.helper.L10NValues;
import org.cyclops.integrateddynamics.inventory.container.ContainerLogicProgrammerBase;
import org.cyclops.integrateddynamics.network.packet.LogicProgrammerValueTypeRecipeValueChangedPacket;
Expand Down Expand Up @@ -100,7 +101,7 @@ public void renderBg(GuiGraphics guiGraphics, int guiLeft, int guiTop, TextureMa
super.renderBg(guiGraphics, guiLeft, guiTop, textureManager, fontRenderer, partialTicks, mouseX, mouseY);

// Draw crafting arrow
guiGraphics.blit(this.texture, guiLeft + getX() + 66, guiTop + getY() + 21, 0, 38, 22, 15);
guiGraphics.blit(SubGuiBox.TEXTURE, guiLeft + getX() + 66, guiTop + getY() + 21, 0, 38, 22, 15);

inputFluidAmountBox.render(guiGraphics, mouseX, mouseY, partialTicks);
fontRenderer.drawInBatch(L10NHelpers.localize(L10NValues.GENERAL_ENERGY_UNIT) + ":", guiLeft + getX() + 2, guiTop + getY() + 78, 0, false,
Expand Down

0 comments on commit 9650838

Please sign in to comment.