Fix mod info panel rendering incorrectly on some systems with HiDPI displays (pesky macs) (#6170)

This commit is contained in:
Justin authored and LexManos committed 2019-10-15 14:31:41 -07:00
1 parent 94cbf72e39
commit a328364999
2 files changed
+2 -2

No files matched your search

@@ -275,7 +275,7 @@ public class GuiModList extends Screen
this.modList.setLeftPos(6);
int modInfoWidth = this.width - this.listWidth - 20;
this.modInfo = new InfoPanel(this.minecraft, modInfoWidth, this.height - 30, 10);
this.modInfo = new InfoPanel(this.minecraft, modInfoWidth, this.height - 40, 10);
int doneButtonWidth = Math.min(modInfoWidth, 200);
this.addButton(new Button(((modList.getWidth() + 8 + this.width - doneButtonWidth) / 2), this.height - 24, doneButtonWidth, 20,