为管理终端增加打开机器ui按钮功能
This commit is contained in:
parent
b6b9c14446
commit
f1909d7acd
|
|
@ -504,7 +504,7 @@ public abstract class GuiExPatternTerminalMixin extends AEBaseScreen<AEBaseMenu>
|
||||||
if (btn == null) {
|
if (btn == null) {
|
||||||
btn = Button.builder(Component.literal("UI"), (b) -> {
|
btn = Button.builder(Component.literal("UI"), (b) -> {
|
||||||
eap$tryOpenProviderUI(rowIndex);
|
eap$tryOpenProviderUI(rowIndex);
|
||||||
}).size(18, 16).build();
|
}).size(14, 12).build();
|
||||||
btn.setTooltip(Tooltip.create(Component.literal("打开该供应器目标容器的界面")));
|
btn.setTooltip(Tooltip.create(Component.literal("打开该供应器目标容器的界面")));
|
||||||
eap$openUIButtons.put(rowIndex, btn);
|
eap$openUIButtons.put(rowIndex, btn);
|
||||||
this.addRenderableWidget(btn);
|
this.addRenderableWidget(btn);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user