danoniplus 31.7.0 → 31.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/js/danoni_main.js CHANGED
@@ -4,12 +4,12 @@
4
4
  *
5
5
  * Source by tickle
6
6
  * Created : 2018/10/08
7
- * Revised : 2023/05/03
7
+ * Revised : 2023/05/31
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 31.7.0`;
12
- const g_revisedDate = `2023/05/03`;
11
+ const g_version = `Ver 31.7.2`;
12
+ const g_revisedDate = `2023/05/31`;
13
13
  const g_alphaVersion = ``;
14
14
 
15
15
  // カスタム用バージョン (danoni_custom.js 等で指定可)
@@ -3125,7 +3125,7 @@ const headerConvert = _dosObj => {
3125
3125
  obj.playingX = setIntVal(_dosObj.playingX);
3126
3126
 
3127
3127
  // プレイ中クレジットを表示しないエリアのサイズ(X方向)
3128
- obj.customViewWidth = setVal(_dosObj.customViewWidth, 0, C_TYP_FLOAT);
3128
+ obj.customViewWidth = setVal(_dosObj.customViewWidth ?? _dosObj.customCreditWidth, 0, C_TYP_FLOAT);
3129
3129
 
3130
3130
  // ジャストフレームの設定 (ローカル: 0フレーム, リモートサーバ上: 1フレーム以内)
3131
3131
  obj.justFrames = (g_isLocal) ? 0 : 1;
@@ -5163,7 +5163,7 @@ const createOptionWindow = _sprite => {
5163
5163
 
5164
5164
  // 譜面番号の再取得
5165
5165
  g_stateObj.scoreId = getNextDifficulty(g_stateObj.scoreId, 0);
5166
- const keyLists = g_headerObj.viewLists.map(j => g_headerObj.keyLabels[j]);
5166
+ const keyLists = makeDedupliArray(g_headerObj.viewLists.map(j => g_headerObj.keyLabels[j]));
5167
5167
  g_headerObj.viewKeyLists = keyLists.sort((a, b) => parseInt(a) - parseInt(b));
5168
5168
  g_headerObj.difSelectorUse = getDifSelectorUse(g_rootObj.difSelectorUse);
5169
5169
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "31.7.0",
3
+ "version": "31.7.2",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {