danoniplus 33.7.1 → 33.7.3
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 +8 -7
- 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 : 2023/10/
|
|
7
|
+
* Revised : 2023/10/29
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 33.7.
|
|
12
|
-
const g_revisedDate = `2023/10/
|
|
11
|
+
const g_version = `Ver 33.7.3`;
|
|
12
|
+
const g_revisedDate = `2023/10/29`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -8389,11 +8389,12 @@ const pushColors = (_header, _frame, _val, _colorCd, _allFlg) => {
|
|
|
8389
8389
|
const ctype = (targetj >= 10 ? `Hit` : `Normal`) + (targetj % 2 === 0 ? `` : `Bar`);
|
|
8390
8390
|
const colorPos = Math.ceil((targetj % 10 - 1) / 2);
|
|
8391
8391
|
|
|
8392
|
-
g_keyObj[`color${tkObj.keyCtrlPtn}`].
|
|
8393
|
-
|
|
8392
|
+
g_keyObj[`color${tkObj.keyCtrlPtn}`].forEach((cpattern, k) => {
|
|
8393
|
+
if (colorPos === cpattern) {
|
|
8394
8394
|
initialize(baseHeader + ctype);
|
|
8395
8395
|
pushColor(baseHeader + ctype, k + addAll);
|
|
8396
|
-
}
|
|
8396
|
+
}
|
|
8397
|
+
});
|
|
8397
8398
|
});
|
|
8398
8399
|
}
|
|
8399
8400
|
|
|
@@ -8536,7 +8537,7 @@ const getArrowSettings = _ => {
|
|
|
8536
8537
|
g_keyObj[`scrollDir${keyCtrlPtn}`][g_stateObj.scroll] : [...Array(keyNum)].fill(1));
|
|
8537
8538
|
|
|
8538
8539
|
g_stateObj.autoAll = (g_stateObj.autoPlay === C_FLG_ALL ? C_FLG_ON : C_FLG_OFF);
|
|
8539
|
-
g_workObj.hitPosition = (g_stateObj.autoAll ? 0 : g_stateObj.hitPosition);
|
|
8540
|
+
g_workObj.hitPosition = (g_stateObj.autoAll === C_FLG_ON ? 0 : g_stateObj.hitPosition);
|
|
8540
8541
|
changeSetColor();
|
|
8541
8542
|
|
|
8542
8543
|
for (let j = 0; j < keyNum; j++) {
|