Skip to content

Commit 2420dc3

Browse files
committed
spotless
1 parent 3cf345f commit 2420dc3

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

src/main/java/gregtech/api/mui/widget/GhostCircuitSlotWidget.java

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package gregtech.api.mui.widget;
22

3-
import com.cleanroommc.modularui.api.widget.Interactable;
4-
53
import gregtech.api.capability.impl.GhostCircuitItemStackHandler;
64
import gregtech.api.mui.GTGuiTextures;
75
import gregtech.api.mui.GTGuis;
@@ -14,6 +12,7 @@
1412
import com.cleanroommc.modularui.api.IPanelHandler;
1513
import com.cleanroommc.modularui.api.drawable.IKey;
1614
import com.cleanroommc.modularui.api.widget.IWidget;
15+
import com.cleanroommc.modularui.api.widget.Interactable;
1716
import com.cleanroommc.modularui.drawable.ItemDrawable;
1817
import com.cleanroommc.modularui.screen.ModularScreen;
1918
import com.cleanroommc.modularui.screen.RichTooltip;
@@ -121,16 +120,16 @@ private void createSelectorPanel() {
121120
}
122121
}
123122
return panel.child(IKey.lang("metaitem.circuit.integrated.gui").asWidget().pos(5, 5))
124-
.child(circuitPreview.asIcon().size(16).asWidget()
125-
.size(18)
126-
.top(19).alignX(0.5f)
127-
.background(GTGuiTextures.SLOT, GTGuiTextures.INT_CIRCUIT_OVERLAY))
128-
.child(new Grid()
129-
.left(7).right(7).top(41).height(4 * 18)
130-
.matrix(options)
131-
.minColWidth(18).minRowHeight(18)
132-
.minElementMargin(0, 0));
133-
}, true).openPanel();
123+
.child(circuitPreview.asIcon().size(16).asWidget()
124+
.size(18)
125+
.top(19).alignX(0.5f)
126+
.background(GTGuiTextures.SLOT, GTGuiTextures.INT_CIRCUIT_OVERLAY))
127+
.child(new Grid()
128+
.left(7).right(7).top(41).height(4 * 18)
129+
.matrix(options)
130+
.minColWidth(18).minRowHeight(18)
131+
.minElementMargin(0, 0));
132+
}, true).openPanel();
134133
}
135134

136135
private static class GhostCircuitSyncHandler extends ItemSlotSH {

src/main/java/gregtech/common/items/behaviors/IntCircuitBehaviour.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package gregtech.common.items.behaviors;
22

3-
import com.cleanroommc.modularui.api.widget.Interactable;
4-
53
import gregtech.api.capability.IGhostSlotConfigurable;
64
import gregtech.api.items.gui.ItemUIFactory;
75
import gregtech.api.items.metaitem.stats.IItemBehaviour;
@@ -23,6 +21,7 @@
2321

2422
import com.cleanroommc.modularui.api.drawable.IKey;
2523
import com.cleanroommc.modularui.api.widget.IWidget;
24+
import com.cleanroommc.modularui.api.widget.Interactable;
2625
import com.cleanroommc.modularui.drawable.ItemDrawable;
2726
import com.cleanroommc.modularui.factory.HandGuiData;
2827
import com.cleanroommc.modularui.screen.ModularPanel;

0 commit comments

Comments
 (0)