mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 14:27:59 +01:00
Self-explanatory
This commit is contained in:
parent
13282898db
commit
cc26c44697
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ public class GLWindow extends DropTarget {
|
||||||
Display.setDisplayMode(Display.getDesktopDisplayMode());
|
Display.setDisplayMode(Display.getDesktopDisplayMode());
|
||||||
} else {
|
} else {
|
||||||
Display.setDisplayMode(new DisplayMode(frame.getContentPane().getWidth(), frame.getContentPane().getHeight()));
|
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
|
// https://bugs.mojang.com/browse/MC-68754
|
||||||
|
|
Loading…
Reference in a new issue