mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-27 23:45:44 +00:00
Fix mod info panel rendering incorrectly on some systems with HiDPI displays (pesky macs) (#6170)
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user