mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 16:54:06 +00:00
Shifted the Assembly Halo HUD down 10px so it fits on smaller resolution/render scales.
This commit is contained in:
1 parent
598ce7f98f
commit
058e9fe839
1 file changed
+1
-1
@@ -496,7 +496,7 @@ public class ItemCraftingHalo extends ItemMod {
|
||||
String name = craftingTable.getDisplayName();
|
||||
int l = mc.fontRenderer.getStringWidth(name);
|
||||
int x = resolution.getScaledWidth() / 2 - l / 2;
|
||||
int y = resolution.getScaledHeight() / 2 - 75;
|
||||
int y = resolution.getScaledHeight() / 2 - 65;
|
||||
|
||||
Gui.drawRect(x - 6, y - 6, x + l + 6, y + 37, 0x22000000);
|
||||
Gui.drawRect(x - 4, y - 4, x + l + 4, y + 35, 0x22000000);
|
||||
|
||||
Reference in new issue
Block a user