Skip to content

Commit 843efa9

Browse files
committed
smaller icons
1 parent 0cba497 commit 843efa9

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/main/java/appeng/client/gui/implementations/GuiCraftingCPU.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ private void drawScheduledReasonIcon(int x, int y, int iconIndex) {
480480
GL11.glPushMatrix();
481481
GL11.glTranslatef(x, y, 0.0f);
482482
GL11.glScalef(0.75f, 0.75f, 1.0f);
483-
this.drawTexturedModalRect(0, 0, uvX * 16, uvY * 16, 16, 16);
483+
this.drawTexturedModalRect(0, 0, uvX * 16, uvY * 16, 11, 11);
484484
GL11.glPopMatrix();
485485
GL11.glPopAttrib();
486486
}
@@ -617,15 +617,12 @@ public void drawFG(final int offsetX, final int offsetY, final int mouseX, final
617617
final String str = GuiText.Scheduled.getLocal() + ": "
618618
+ converter.toWideReadableForm(pendingStack.getStackSize());
619619
final int w = 4 + this.fontRendererObj.getStringWidth(str);
620-
final boolean scheduledOnlyLine = (stored == null || stored.getStackSize() <= 0)
621-
&& (activeStack == null || activeStack.getStackSize() <= 0);
622-
final int scheduledLineYOffset = scheduledOnlyLine && scheduledIconIndex >= 0 ? 4 : 0;
623620

624621
this.fontRendererObj.drawString(
625622
str,
626623
(int) ((x * (1 + SECTION_LENGTH) + ITEMSTACK_LEFT_OFFSET + SECTION_LENGTH - 19 - (w * 0.5))
627624
* 2),
628-
(y * offY + ITEMSTACK_TOP_OFFSET + 6 - negY + downY + scheduledLineYOffset) * 2,
625+
(y * offY + ITEMSTACK_TOP_OFFSET + 6 - negY + downY) * 2,
629626
GuiColors.CraftingCPUScheduled.getColor());
630627

631628
if (this.tooltip == z - viewStart) {
3.18 KB
Loading

0 commit comments

Comments
 (0)