change 'guiScale' from 0 to 4

This commit is contained in:
ShirosakiMio 2024-08-24 12:02:27 +08:00
parent ef3d36d9ea
commit e9c8e8a306
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ fov:0.0
gamma:0.5070422
saturation:0.0
renderDistance:2
guiScale:0
guiScale:4
particles:1
bobView:false
anaglyph3d:false

View File

@ -143,9 +143,9 @@ public class GameOption {
String str = get("guiScale");
int guiScale;
try {
guiScale = (str == null ? 0 : Integer.parseInt(str));
guiScale = (str == null ? 4 : Integer.parseInt(str));
} catch (NumberFormatException ignore) {
guiScale = 0;
guiScale = 4;
}
int scale = Math.max(Math.min(width / 320, height / 240), 1);
if (scale < guiScale || guiScale == 0) {