Self-explanatory

This commit is contained in:
Sollace 2018-10-21 04:05:07 +02:00
parent 13282898db
commit cc26c44697

View file

@ -179,7 +179,7 @@ public class GLWindow extends DropTarget {
Display.setDisplayMode(Display.getDesktopDisplayMode());
} else {
Display.setDisplayMode(new DisplayMode(frame.getContentPane().getWidth(), frame.getContentPane().getHeight()));
Display.setLocation(Math.max(0, frame.getX() + frameFactorX/3), Math.max(0, frame.getY() + frameFactorX/3));
Display.setLocation(Math.max(0, frame.getX() + frameFactorX/3), Math.max(0, frame.getY() + frameFactorY/7));
}
// https://bugs.mojang.com/browse/MC-68754