danoniplus 38.0.0 → 38.0.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 +4 -4
- package/js/lib/legacy_functions.js +3 -3
- 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 : 2024/11/
|
|
7
|
+
* Revised : 2024/11/07
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 38.0.
|
|
12
|
-
const g_revisedDate = `2024/11/
|
|
11
|
+
const g_version = `Ver 38.0.2`;
|
|
12
|
+
const g_revisedDate = `2024/11/07`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -11596,6 +11596,7 @@ const resultInit = () => {
|
|
|
11596
11596
|
const allScore = g_fullArrows * 10;
|
|
11597
11597
|
const resultScore = Math.round(scoreTmp / allScore * g_maxScore) || 0;
|
|
11598
11598
|
g_resultObj.score = resultScore;
|
|
11599
|
+
const allArrowsPlayed = playingArrows === g_fullArrows;
|
|
11599
11600
|
|
|
11600
11601
|
// ランク計算
|
|
11601
11602
|
let rankMark = g_rankObj.rankMarkX;
|
|
@@ -11628,7 +11629,6 @@ const resultInit = () => {
|
|
|
11628
11629
|
mTitleForView[j] = g_headerObj.musicTitlesForView[g_headerObj.musicNos[g_stateObj.scoreId]][j] + (j === 1 ? playbackView : ``));
|
|
11629
11630
|
}
|
|
11630
11631
|
|
|
11631
|
-
const allArrowsPlayed = playingArrows === g_fullArrows;
|
|
11632
11632
|
const keyCtrlPtn = `${g_keyObj.currentKey}_${g_keyObj.currentPtn}`;
|
|
11633
11633
|
const transKeyName = (hasVal(g_keyObj[`transKey${keyCtrlPtn}`]) ? `(${g_keyObj[`transKey${keyCtrlPtn}`]})` : ``);
|
|
11634
11634
|
const orgShuffleFlg = g_keyObj[`shuffle${keyCtrlPtn}`].filter((shuffleGr, j) => shuffleGr !== g_keyObj[`shuffle${keyCtrlPtn}_0d`][j]).length === 0;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* Source by tickle
|
|
7
7
|
* Created : 2024/10/29
|
|
8
|
-
* Revised :
|
|
8
|
+
* Revised : 2024/11/07 (v38.0.2)
|
|
9
9
|
*
|
|
10
10
|
* https://github.com/cwtickle/danoniplus
|
|
11
11
|
*/
|
|
@@ -37,7 +37,7 @@ const createColorObject = (_id, color, x, y, w, h, rotate = ``, styleName = ``)
|
|
|
37
37
|
/** @deprecated */
|
|
38
38
|
const createButton = (_obj, _func) => {
|
|
39
39
|
const div = createCss2Button(_obj.id, _obj.name, _func, {
|
|
40
|
-
x: _obj.x, y: _obj.y, w: _obj.
|
|
40
|
+
x: _obj.x, y: _obj.y, w: _obj.width, h: _obj.height,
|
|
41
41
|
siz: _obj?.fontsize, align: _obj?.align, animationName: _obj?.animationName,
|
|
42
42
|
backgroundColor: _obj?.normalColor,
|
|
43
43
|
});
|
|
@@ -48,7 +48,7 @@ const createButton = (_obj, _func) => {
|
|
|
48
48
|
/** @deprecated */
|
|
49
49
|
const createCssButton = (_obj, _func) =>
|
|
50
50
|
createCss2Button(_obj.id, _obj.name, _func, {
|
|
51
|
-
x: _obj?.x, y: _obj?.y, w: _obj?.
|
|
51
|
+
x: _obj?.x, y: _obj?.y, w: _obj?.width, h: _obj?.height,
|
|
52
52
|
siz: _obj?.fontsize, align: _obj?.align, animationName: _obj?.animationName
|
|
53
53
|
}, _obj?.class);
|
|
54
54
|
|