Change panel position algorithm (#683)

This commit is contained in:
slprime authored and GitHub committed 2025-08-22 12:03:05 +00:00
1 parent 31fcd6af51
commit 95274339a0
5 files changed
+53 -67

No files matched your search

@@ -52,7 +52,7 @@ public class LayoutStyleMinecraft extends LayoutStyle {
public void layout(GuiContainer gui, VisiblityData visiblity) {
reset();
leftSize = ItemPanels.bookmarkPanel.getWidth(gui);
leftSize = (gui.width - gui.xSize) / 2 - 4;
numButtons = Math.max(leftSize / 20, 1);
LayoutManager.delete.state = 0x4;