调整布局

This commit is contained in:
GaLicn 2025-09-23 20:35:54 +08:00
parent d3a47ea3d3
commit fa57542f3c
2 changed files with 2 additions and 2 deletions

View File

@ -261,7 +261,7 @@ public abstract class InterfaceScreenMixin<T extends AEBaseMenu> {
int imageWidth = ((AbstractContainerScreenAccessor<?>) (Object) this).eap$getImageWidth();
// 按照样板供应器界面一致的布局界面右缘外侧竖排
int bx = leftPos + imageWidth + 1;
int by = topPos + 20;
int by = topPos + 70; // 向下偏移25px (从20改为45)
int spacing = 22;
if (eap$divideBy2Button != null) { eap$divideBy2Button.setX(bx); eap$divideBy2Button.setY(by); }
if (eap$x2Button != null) { eap$x2Button.setX(bx); eap$x2Button.setY(by + spacing); }

View File

@ -328,7 +328,7 @@ public abstract class GuiExPatternProviderMixin extends PatternProviderScreen<Co
// 定位到 GUI 右缘外侧一点使用绝对屏幕坐标
int bx = this.leftPos + this.imageWidth + 1; // 向右平移 1px 到面板外侧
int by = this.topPos + 20;
int by = this.topPos + 50; // 向下偏移25px (从20改为45)
int spacing = 22;
// 翻页按钮交由左侧工具栏布局无需手动定位
if (this.divideBy2Button != null) {