danoniplus 41.4.1 → 41.4.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 +7 -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 : 2025/05/
|
|
7
|
+
* Revised : 2025/05/23
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 41.4.
|
|
12
|
-
const g_revisedDate = `2025/05/
|
|
11
|
+
const g_version = `Ver 41.4.2`;
|
|
12
|
+
const g_revisedDate = `2025/05/23`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -6169,7 +6169,7 @@ const optionInit = () => {
|
|
|
6169
6169
|
* @returns {string}
|
|
6170
6170
|
*/
|
|
6171
6171
|
const getMusicInfoView = () => {
|
|
6172
|
-
const idx = g_headerObj.musicNos[g_stateObj.scoreId];
|
|
6172
|
+
const idx = g_headerObj.musicNos[g_stateObj.scoreId] || 0;
|
|
6173
6173
|
let text = `♪` + (g_headerObj.musicSelectUse ? `${unEscapeHtml(g_headerObj.musicTitles[idx])} / ` : ``) +
|
|
6174
6174
|
`BPM: ${g_headerObj.bpms[idx]}`;
|
|
6175
6175
|
if (!g_headerObj.musicSelectUse && g_headerObj.bpms[idx] === `----`) {
|
|
@@ -11115,7 +11115,7 @@ const getArrowSettings = () => {
|
|
|
11115
11115
|
g_stateObj.layerNum = Math.max(g_stateObj.layerNum, Math.ceil((Math.max(...g_workObj.dividePos) + 1) / 2) * 2);
|
|
11116
11116
|
|
|
11117
11117
|
// g_workObjの不要なプロパティを削除
|
|
11118
|
-
if (g_stateObj.dummyId === ``) {
|
|
11118
|
+
if (g_stateObj.dummyId === `` && g_autoPlaysBase.includes(g_stateObj.autoPlay)) {
|
|
11119
11119
|
Object.keys(g_workObj).filter(key => key.startsWith(`dummy`) || key.startsWith(`mkDummy`))
|
|
11120
11120
|
.forEach(key => delete g_workObj[key]);
|
|
11121
11121
|
}
|
|
@@ -11411,7 +11411,8 @@ const mainInit = () => {
|
|
|
11411
11411
|
createMultipleSprite(`maskSprite`, g_scoreObj.maskMaxDepth, { x: g_workObj.backX });
|
|
11412
11412
|
|
|
11413
11413
|
// カラー・モーションを適用するオブジェクトの種類
|
|
11414
|
-
const objList = (g_stateObj.dummyId === ``
|
|
11414
|
+
const objList = (g_stateObj.dummyId === `` && g_autoPlaysBase.includes(g_stateObj.autoPlay)
|
|
11415
|
+
? [``] : [`dummy`, ``]);
|
|
11415
11416
|
|
|
11416
11417
|
// 背景・マスクモーション、スキン変更(0フレーム指定)
|
|
11417
11418
|
if (g_scoreObj.frameNum === 0) {
|