Change panel position algorithm

This commit is contained in:
slprime committed 2025-07-26 11:46:04 +03:00
1 parent 5fd0a74363
commit a0c5afdbd4
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;