mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-10-25 20:22:23 +00:00
improve pins textures (#842)
This commit is contained in:
1 parent
7710fb853b
commit
ce493af20e
3 files changed
+6
-6
No files matched your search
@@ -815,7 +815,7 @@ public abstract class AEBaseGui extends GuiContainer {
|
||||
|
||||
private void drawSlot(final Slot s) {
|
||||
if (s instanceof SlotME || s instanceof SlotFake) {
|
||||
if (s instanceof SlotME sme && sme.isPin()) {
|
||||
if (s instanceof SlotME sme && sme.isPin() && !sme.getHasStack()) {
|
||||
drawTextureOnSlot(s, sme.getPinIcon(), sme.getOpacityOfIcon());
|
||||
}
|
||||
IAEItemStack stack = Platform.getAEStackInSlot(s);
|
||||
|
||||
@@ -844,35 +844,35 @@ public class GuiImgButton extends GuiButton implements ITooltip {
|
||||
ButtonToolTips.CPUOnlyAllowNonPlayerDesc);
|
||||
|
||||
this.registerApp(
|
||||
16 * 15 + 15,
|
||||
16 * 15 + 14,
|
||||
Settings.PINS_STATE,
|
||||
PinsState.DISABLED,
|
||||
ButtonToolTips.PinsSection,
|
||||
ButtonToolTips.PinsSectionDisabled);
|
||||
|
||||
this.registerApp(
|
||||
16 * 15 + 14,
|
||||
16 * 15 + 13,
|
||||
Settings.PINS_STATE,
|
||||
PinsState.ONE,
|
||||
ButtonToolTips.PinsSection,
|
||||
ButtonToolTips.PinsSectionActive);
|
||||
|
||||
this.registerApp(
|
||||
16 * 15 + 14,
|
||||
16 * 15 + 13,
|
||||
Settings.PINS_STATE,
|
||||
PinsState.TWO,
|
||||
ButtonToolTips.PinsSection,
|
||||
ButtonToolTips.PinsSectionActive);
|
||||
|
||||
this.registerApp(
|
||||
16 * 15 + 14,
|
||||
16 * 15 + 13,
|
||||
Settings.PINS_STATE,
|
||||
PinsState.THREE,
|
||||
ButtonToolTips.PinsSection,
|
||||
ButtonToolTips.PinsSectionActive);
|
||||
|
||||
this.registerApp(
|
||||
16 * 15 + 14,
|
||||
16 * 15 + 13,
|
||||
Settings.PINS_STATE,
|
||||
PinsState.FOUR,
|
||||
ButtonToolTips.PinsSection,
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 18 KiB |
Reference in new issue
Block a user