Enable bookmark panel hiding

This commit is contained in:
Jason Mitchell authored and Jason Mitchell committed 2021-04-12 20:20:36 -07:00
1 parent 40ff91a908
commit fe83411c57
4 files changed
+28 -2

No files matched your search

@@ -6,6 +6,7 @@ import org.lwjgl.opengl.GL11;
import static codechicken.lib.gui.GuiDraw.drawStringC;
import static codechicken.nei.LayoutManager.bookmarkPanel;
import static codechicken.nei.LayoutManager.bookmarks;
import static codechicken.nei.LayoutManager.delete;
import static codechicken.nei.LayoutManager.dropDown;
import static codechicken.nei.LayoutManager.gamemode;
@@ -126,6 +127,11 @@ public class LayoutStyleMinecraft extends LayoutStyle
options.y = isEnabled() ? gui.height - 22 : gui.height - 28;
options.w = 80;
options.h = 22;
bookmarks.x = 82 + (isEnabled() ? 0 : 6);
bookmarks.y = isEnabled() ? gui.height - 22 : gui.height - 28;
bookmarks.w = 80;
bookmarks.h = 22;
searchField.y = gui.height - searchField.h - 2;