v0.8.0a: reduced the minimum window size in desktop mode
This commit is contained in:
parent
e1fb7600df
commit
8b40399aa7
|
@ -267,8 +267,8 @@ public class SPDSettings extends GameSettings {
|
|||
|
||||
public static Point windowResolution(){
|
||||
return new Point(
|
||||
getInt( KEY_WINDOW_WIDTH, 960, 960, Integer.MAX_VALUE ),
|
||||
getInt( KEY_WINDOW_HEIGHT, 640, 640, Integer.MAX_VALUE )
|
||||
getInt( KEY_WINDOW_WIDTH, 960, 480, Integer.MAX_VALUE ),
|
||||
getInt( KEY_WINDOW_HEIGHT, 640, 320, Integer.MAX_VALUE )
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@ public class DesktopLauncher {
|
|||
SPDSettings.set( new Lwjgl3Preferences( SPDSettings.DEFAULT_PREFS_FILE, basePath) );
|
||||
FileUtils.setDefaultFileProperties( Files.FileType.External, basePath );
|
||||
|
||||
config.setWindowSizeLimits( 960, 640, -1, -1 );
|
||||
config.setWindowSizeLimits( 480, 320, -1, -1 );
|
||||
Point p = SPDSettings.windowResolution();
|
||||
config.setWindowedMode( p.x, p.y );
|
||||
config.setAutoIconify( true );
|
||||
|
|
Loading…
Reference in New Issue
Block a user