|
1 | 1 | package gregtech.api.mui.widget; |
2 | 2 |
|
3 | | -import com.cleanroommc.modularui.api.widget.Interactable; |
4 | | - |
5 | 3 | import gregtech.api.capability.impl.GhostCircuitItemStackHandler; |
6 | 4 | import gregtech.api.mui.GTGuiTextures; |
7 | 5 | import gregtech.api.mui.GTGuis; |
|
14 | 12 | import com.cleanroommc.modularui.api.IPanelHandler; |
15 | 13 | import com.cleanroommc.modularui.api.drawable.IKey; |
16 | 14 | import com.cleanroommc.modularui.api.widget.IWidget; |
| 15 | +import com.cleanroommc.modularui.api.widget.Interactable; |
17 | 16 | import com.cleanroommc.modularui.drawable.ItemDrawable; |
18 | 17 | import com.cleanroommc.modularui.screen.ModularScreen; |
19 | 18 | import com.cleanroommc.modularui.screen.RichTooltip; |
@@ -121,16 +120,16 @@ private void createSelectorPanel() { |
121 | 120 | } |
122 | 121 | } |
123 | 122 | 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(); |
134 | 133 | } |
135 | 134 |
|
136 | 135 | private static class GhostCircuitSyncHandler extends ItemSlotSH { |
|
0 commit comments