danoniplus 40.7.6 → 40.7.7
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 +12 -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/08/
|
|
7
|
+
* Revised : 2025/08/27
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 40.7.
|
|
12
|
-
const g_revisedDate = `2025/08/
|
|
11
|
+
const g_version = `Ver 40.7.7`;
|
|
12
|
+
const g_revisedDate = `2025/08/27`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -11711,7 +11711,13 @@ const mainInit = () => {
|
|
|
11711
11711
|
// フリーズアロー色の設定
|
|
11712
11712
|
// - 通常時 (矢印枠/矢印塗りつぶし/帯): g_attrObj[frzName].Normal / NormalShadow / NormalBar
|
|
11713
11713
|
// - ヒット時 (矢印枠/矢印塗りつぶし/帯): g_attrObj[frzName].Hit / HitShadow / HitBar
|
|
11714
|
-
|
|
11714
|
+
// - ヒット時(矢印枠/矢印塗りつぶし/帯別の生成時全体色): g_attrObj[frzName].HitAll / HitShadowAll / HitBarAll
|
|
11715
|
+
g_typeLists.frzColor.forEach(val => {
|
|
11716
|
+
g_attrObj[frzName][val] = g_workObj[`${_name}${val}Colors`][_j];
|
|
11717
|
+
if (val.startsWith(`Hit`)) {
|
|
11718
|
+
g_attrObj[frzName][`${val}All`] = g_workObj[`${_name}${val}ColorsAll`][_j];
|
|
11719
|
+
}
|
|
11720
|
+
});
|
|
11715
11721
|
arrowSprite[g_workObj.dividePos[_j]].appendChild(frzRoot);
|
|
11716
11722
|
let shadowColor = _shadowColor === `Default` ? _normalColor : _shadowColor;
|
|
11717
11723
|
|
|
@@ -12439,9 +12445,9 @@ const changeHitFrz = (_j, _k, _name, _difFrame = 0) => {
|
|
|
12439
12445
|
* @returns {string}
|
|
12440
12446
|
*/
|
|
12441
12447
|
const getColor = (_type) => {
|
|
12442
|
-
const cColor = g_workObj[`${_name}${_type}Colors`][_j];
|
|
12443
12448
|
const cColorAll = g_workObj[`${_name}${_type}ColorsAll`][_j];
|
|
12444
|
-
return currentFrz[_type] !==
|
|
12449
|
+
return currentFrz[_type] !== cColorAll && currentFrz[`${_type}All`] !== cColorAll
|
|
12450
|
+
? cColorAll : currentFrz[_type];
|
|
12445
12451
|
};
|
|
12446
12452
|
|
|
12447
12453
|
const tmpHitColor = getColor(`Hit`);
|