Skip to content

Commit

Permalink
Fix multi ui text position (#91)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8260721)
  • Loading branch information
HoleFish authored and Dream-Master committed Dec 18, 2024
1 parent 7120e28 commit eadaa82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ public void addGregTechLogo(ModularWindow.Builder builder) {
*/
@Override
protected void drawTexts(DynamicPositionedColumn screenElements, SlotWidget inventorySlot) {
screenElements.setSynced(false).setSpace(0).setPos(10, 7);
screenElements.setSynced(false).setSpace(0);

screenElements
.widget(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ public void addGregTechLogo(ModularWindow.Builder builder) {
*/
@Override
protected void drawTexts(DynamicPositionedColumn screenElements, SlotWidget inventorySlot) {
screenElements.setSynced(false).setSpace(0).setPos(10, 7);
screenElements.setSynced(false).setSpace(0);

screenElements
.widget(
Expand Down

0 comments on commit eadaa82

Please sign in to comment.