Using 75% display scaling for screens with less than 720px height.

This commit is contained in:
Stian Grenborgen 2024-01-21 09:16:43 +01:00
parent 8e203ac4a1
commit 697096c0da
1 changed files with 3 additions and 1 deletions

View File

@ -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);