danoniplus 39.6.0 → 39.6.1
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 +22 -11
- package/package.json +1 -1
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 : 2025/02/
|
|
7
|
+
* Revised : 2025/02/17
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 39.6.
|
|
12
|
-
const g_revisedDate = `2025/02/
|
|
11
|
+
const g_version = `Ver 39.6.1`;
|
|
12
|
+
const g_revisedDate = `2025/02/17`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -5808,14 +5808,8 @@ const setDifficulty = (_initFlg) => {
|
|
|
5808
5808
|
});
|
|
5809
5809
|
|
|
5810
5810
|
}
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
if (g_headerObj.keyRetryDef === C_KEY_RETRY) {
|
|
5814
|
-
g_headerObj.keyRetry = setIntVal(getKeyCtrlVal(g_keyObj[`keyRetry${keyCtrlPtn}`]), g_headerObj.keyRetryDef);
|
|
5815
|
-
}
|
|
5816
|
-
if (g_headerObj.keyTitleBackDef === C_KEY_TITLEBACK) {
|
|
5817
|
-
g_headerObj.keyTitleBack = setIntVal(getKeyCtrlVal(g_keyObj[`keyTitleBack${keyCtrlPtn}`]), g_headerObj.keyTitleBackDef);
|
|
5818
|
-
}
|
|
5811
|
+
// 曲中ショートカットキーの切り替え
|
|
5812
|
+
setPlayingShortcut();
|
|
5819
5813
|
}
|
|
5820
5814
|
|
|
5821
5815
|
// スクロール設定用の配列を入れ替え
|
|
@@ -7754,6 +7748,9 @@ const keyConfigInit = (_kcType = g_kcType) => {
|
|
|
7754
7748
|
// カラーグループ、シャッフルグループの再設定
|
|
7755
7749
|
g_keycons.groups.forEach(type => resetGroupList(type, `${g_keyObj.currentKey}_${g_keyObj.currentPtn}`));
|
|
7756
7750
|
|
|
7751
|
+
// 曲中ショートカットキーの切り替え
|
|
7752
|
+
setPlayingShortcut();
|
|
7753
|
+
|
|
7757
7754
|
// キーコンフィグ画面を再呼び出し
|
|
7758
7755
|
keyConfigInit();
|
|
7759
7756
|
|
|
@@ -7939,6 +7936,20 @@ const getKeyInfo = () => {
|
|
|
7939
7936
|
};
|
|
7940
7937
|
};
|
|
7941
7938
|
|
|
7939
|
+
/**
|
|
7940
|
+
* デフォルトの曲中ショートカットをキー数・キーパターンにより切り替え
|
|
7941
|
+
* - キーコンフィグ画面で個別に変えていた場合は変更しない
|
|
7942
|
+
*/
|
|
7943
|
+
const setPlayingShortcut = () => {
|
|
7944
|
+
const keyCtrlPtn = `${g_keyObj.currentKey}_${g_keyObj.currentPtn}`;
|
|
7945
|
+
if (g_headerObj.keyRetryDef === C_KEY_RETRY) {
|
|
7946
|
+
g_headerObj.keyRetry = setIntVal(getKeyCtrlVal(g_keyObj[`keyRetry${keyCtrlPtn}`]), g_headerObj.keyRetryDef);
|
|
7947
|
+
}
|
|
7948
|
+
if (g_headerObj.keyTitleBackDef === C_KEY_TITLEBACK) {
|
|
7949
|
+
g_headerObj.keyTitleBack = setIntVal(getKeyCtrlVal(g_keyObj[`keyTitleBack${keyCtrlPtn}`]), g_headerObj.keyTitleBackDef);
|
|
7950
|
+
}
|
|
7951
|
+
};
|
|
7952
|
+
|
|
7942
7953
|
/**
|
|
7943
7954
|
* ステップゾーン間隔、大きさの更新
|
|
7944
7955
|
* @param {string} _header
|