danoniplus 31.7.3 → 31.7.5
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 +9 -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/
|
|
7
|
+
* Revised : 2023/08/19
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 31.7.
|
|
12
|
-
const g_revisedDate = `2023/
|
|
11
|
+
const g_version = `Ver 31.7.5`;
|
|
12
|
+
const g_revisedDate = `2023/08/19`;
|
|
13
13
|
const g_alphaVersion = ``;
|
|
14
14
|
|
|
15
15
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
@@ -7591,13 +7591,15 @@ const scoreConvert = (_dosObj, _scoreId, _preblankFrame, _dummyNo = ``,
|
|
|
7591
7591
|
}
|
|
7592
7592
|
|
|
7593
7593
|
// キー変化定義
|
|
7594
|
-
obj.keychFrames = [
|
|
7595
|
-
obj.keychTarget = [
|
|
7594
|
+
obj.keychFrames = [];
|
|
7595
|
+
obj.keychTarget = [];
|
|
7596
7596
|
if (hasVal(getRefData(`keych`, `${scoreIdHeader}_data`))) {
|
|
7597
7597
|
const keychdata = splitLF2(getRefData(`keych`, `${scoreIdHeader}_data`), `,`);
|
|
7598
|
-
obj.keychFrames.push(...keychdata.filter((val, j) => j % 2 === 0));
|
|
7598
|
+
obj.keychFrames.push(...(keychdata.filter((val, j) => j % 2 === 0)).map(val => val === `0` ? 0 : calcFrame(val)));
|
|
7599
7599
|
obj.keychTarget.push(...keychdata.filter((val, j) => j % 2 === 1));
|
|
7600
7600
|
}
|
|
7601
|
+
obj.keychFrames.unshift(0);
|
|
7602
|
+
obj.keychTarget.unshift(`0`);
|
|
7601
7603
|
|
|
7602
7604
|
return obj;
|
|
7603
7605
|
};
|
|
@@ -9245,7 +9247,7 @@ const mainInit = _ => {
|
|
|
9245
9247
|
|
|
9246
9248
|
frzOFF: (_j, _k, _cnt) => {
|
|
9247
9249
|
|
|
9248
|
-
if (g_workObj.judgFrzCnt[_j] === _k - 1
|
|
9250
|
+
if (g_workObj.judgFrzCnt[_j] === _k - 1) {
|
|
9249
9251
|
const prevFrzName = `frz${_j}_${g_workObj.judgFrzCnt[_j]}`;
|
|
9250
9252
|
const prevFrz = g_attrObj[prevFrzName];
|
|
9251
9253
|
|