Skip to content

Commit

Permalink
feat: Now window width and height are configurable.
Browse files Browse the repository at this point in the history
  • Loading branch information
hizumiaoba committed Sep 15, 2021
1 parent f4548ae commit b679ca1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -25,8 +25,8 @@ THIS SOFTWARE DEPENDS ON APACHE LICENSE 2.0 BECAUSE THIS USED SOME LIBRARIES WHI
|:--:|:--:|:--:|:--:|
|`checkVersion`|`true`/`false`|`true`|アプリケーションのバージョンをチェックします|
|`checkLibaryUpdates`|`true`/`false`|`true`|楽曲ライブラリの更新を毎回チェックします|
|`windowWidth`|1以上の整数値|`640`|ウィンドウの横長さを指定します(機能作成中のためこの値は使用していません)|
|`windowHeight`|1以上の整数値|`360`|ウィンドウの縦長さを指定します(機能作成中のためこの値は使用していません)|
|`windowWidth`|1以上の整数値|`640`|ウィンドウの横長さを指定します|
|`windowHeight`|1以上の整数値|`360`|ウィンドウの縦長さを指定します|
|`songLimit`|1以上の整数値|`3`|ランダム選曲する最大曲数を指定します|
|`saveScoreLog`|`true`/`false`|`false`|スコアデータを保存するかどうか指定します(機能作成中のためこの値は使用していません)|
|`outputDebugSentences`|`true`/`false`|`false`|標準出力へログを流すかどうか指定します
2 changes: 1 addition & 1 deletion src/com/ranfa/main/DelesteRandomSelector.java
Expand Up @@ -148,7 +148,7 @@ public DelesteRandomSelector() {
updatedFuture.thenRunAsync(setEnabled, es);
LimitedLog.println(this.getClass() + ":[DEBUG]: " + "Version:" + CheckVersion.getVersion());
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setBounds(100, 100, 640, 360);
setBounds(100, 100, property.getWindowWidth(), property.getWindowHeight());
contentPane = new JPanel();
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
setContentPane(contentPane);
Expand Down

0 comments on commit b679ca1

Please sign in to comment.