danoniplus 32.7.1 → 32.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 +8 -6
- 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/08/
|
|
7
|
+
* Revised : 2023/08/19
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 32.7.
|
|
12
|
-
const g_revisedDate = `2023/08/
|
|
11
|
+
const g_version = `Ver 32.7.2`;
|
|
12
|
+
const g_revisedDate = `2023/08/19`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -7637,13 +7637,15 @@ const scoreConvert = (_dosObj, _scoreId, _preblankFrame, _dummyNo = ``,
|
|
|
7637
7637
|
}
|
|
7638
7638
|
|
|
7639
7639
|
// キー変化定義
|
|
7640
|
-
obj.keychFrames = [
|
|
7641
|
-
obj.keychTarget = [
|
|
7640
|
+
obj.keychFrames = [];
|
|
7641
|
+
obj.keychTarget = [];
|
|
7642
7642
|
if (hasVal(getRefData(`keych`, `${scoreIdHeader}_data`))) {
|
|
7643
7643
|
const keychdata = splitLF2(getRefData(`keych`, `${scoreIdHeader}_data`), `,`);
|
|
7644
|
-
obj.keychFrames.push(...keychdata.filter((val, j) => j % 2 === 0));
|
|
7644
|
+
obj.keychFrames.push(...(keychdata.filter((val, j) => j % 2 === 0)).map(val => val === `0` ? 0 : calcFrame(val)));
|
|
7645
7645
|
obj.keychTarget.push(...keychdata.filter((val, j) => j % 2 === 1));
|
|
7646
7646
|
}
|
|
7647
|
+
obj.keychFrames.unshift(0);
|
|
7648
|
+
obj.keychTarget.unshift(`0`);
|
|
7647
7649
|
|
|
7648
7650
|
return obj;
|
|
7649
7651
|
};
|