Skip to content

Commit d827551

Browse files
committed
increase progress widget margin
1 parent f24033c commit d827551

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/main/java/gregtech/api/recipes/ui/RecipeMapUI.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,10 +555,11 @@ public ModularPanel constructPanel(ModularPanel panel, DoubleSupplier progressSu
555555
// this isn't great but it works for now
556556
// panel size is hardcoded because you can't get the panel size from the panel
557557
int m = calculateCenter(importItems.getSlots(), importFluids.getTanks(), 176 + 20);
558+
int margin = 6;
558559

559560
if (importItems.getSlots() > 0 || importFluids.getTanks() > 0) {
560561
row.child(makeInventorySlotGroup(importItems, importFluids, false)
561-
.marginLeft(m - 4));
562+
.marginLeft(m - margin));
562563
}
563564
RecipeProgressWidget progressWidget = new RecipeProgressWidget();
564565
if (this.extraOverlays != null) {
@@ -568,7 +569,7 @@ public ModularPanel constructPanel(ModularPanel panel, DoubleSupplier progressSu
568569
.recipeMap(recipeMap)
569570
.debugName("recipe.progress")
570571
.size(20)
571-
.margin(4, 0)
572+
.margin(margin, 0)
572573
.value(progressValue)
573574
.texture(progressTexture, 20)
574575
.direction(progressDirection));

0 commit comments

Comments
 (0)