mirror of https://github.com/FreeCol/freecol.git
Using 75% display scaling for screens with less than 720px height.
This commit is contained in:
parent
8e203ac4a1
commit
697096c0da
|
@ -2074,7 +2074,9 @@ public class SwingGUI extends GUI {
|
|||
}
|
||||
|
||||
final int screenHeight = graphicsDevice.getDisplayMode().getHeight();
|
||||
if (screenHeight < 900) {
|
||||
if (screenHeight < 720) {
|
||||
scaleFactor = 0.75F;
|
||||
} else if (screenHeight < 900) {
|
||||
scaleFactor = 1F;
|
||||
} else if (screenHeight < 1050) {
|
||||
scaleFactor = Math.min(1.25F, scaleFactor);
|
||||
|
|
Loading…
Reference in New Issue