OSDN Git Service

fix: fix window default size
authorhizumiaoba <56146205+hizumiaoba@users.noreply.github.com>
Thu, 10 Mar 2022 03:49:13 +0000 (12:49 +0900)
committerhizumiaoba <56146205+hizumiaoba@users.noreply.github.com>
Thu, 10 Mar 2022 03:49:13 +0000 (12:49 +0900)
generated/settings.json
src/com/ranfa/lib/Settings.java

index 1f447c5..c5712b9 100644 (file)
@@ -1,8 +1,8 @@
 {
   "checkLibraryUpdates" : true,
   "checkVersion" : true,
-  "windowHeight" : 960,
+  "windowHeight" : 540,
   "songLimit" : 5,
   "saveScoreLog" : true,
-  "windowWidth" : 540
+  "windowWidth" : 960
 }
\ No newline at end of file
index 7f7f57e..6442878 100644 (file)
@@ -116,8 +116,8 @@ public class Settings {
                SettingJSONProperty property = new SettingJSONProperty();
                property.setCheckVersion(true);
                property.setCheckLibraryUpdates(true);
-               property.setWindowWidth(640);
-               property.setWindowHeight(360);
+               property.setWindowWidth(960);
+               property.setWindowHeight(540);
                property.setSongLimit(3);
                property.setSaveScoreLog(false);
                ObjectWriter writer = new ObjectMapper().writer(new DefaultPrettyPrinter());