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

@@ -191,7 +191,7 @@ public abstract class ScrollPanel extends FocusableGui implements IRenderable
double scale = client.mainWindow.getGuiScaleFactor();
GL11.glEnable(GL11.GL_SCISSOR_TEST);
GL11.glScissor((int)(left * scale), (int)(client.mainWindow.getHeight() - (bottom * scale)),
GL11.glScissor((int)(left * scale), (int)(client.mainWindow.getFramebufferHeight() - (bottom * scale)),
(int)(width * scale), (int)(height * scale));
if (this.client.world != null)