danoniplus 33.1.3 → 33.2.0
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/css/danoni_main.css +6 -1
- package/js/danoni_main.js +12 -10
- package/package.json +1 -1
package/css/danoni_main.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
本体cssファイル
|
|
5
5
|
|
|
6
6
|
Created : 2018/10/08
|
|
7
|
-
Revised : 2023/08/
|
|
7
|
+
Revised : 2023/08/20 (v33.2.0)
|
|
8
8
|
|
|
9
9
|
https://github.com/cwtickle/danoniplus
|
|
10
10
|
------------------------------------------ */
|
|
@@ -355,6 +355,11 @@ input[type="color"] {
|
|
|
355
355
|
/* スキン定義 ------------------------------------------------------------*/
|
|
356
356
|
|
|
357
357
|
/* 背景 */
|
|
358
|
+
#canvas-frame {
|
|
359
|
+
border-top: 1px solid var(--back-border-x, #666666);
|
|
360
|
+
border-bottom: 1px solid var(--back-border-x, #666666);
|
|
361
|
+
}
|
|
362
|
+
|
|
358
363
|
#divBack {
|
|
359
364
|
background: var(--background, linear-gradient(#000000, #222222));
|
|
360
365
|
}
|
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/20
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 33.
|
|
12
|
-
const g_revisedDate = `2023/08/
|
|
11
|
+
const g_version = `Ver 33.2.0`;
|
|
12
|
+
const g_revisedDate = `2023/08/20`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -7766,13 +7766,15 @@ const scoreConvert = (_dosObj, _scoreId, _preblankFrame, _dummyNo = ``,
|
|
|
7766
7766
|
});
|
|
7767
7767
|
|
|
7768
7768
|
// キー変化定義
|
|
7769
|
-
obj.keychFrames = [
|
|
7770
|
-
obj.keychTarget = [
|
|
7769
|
+
obj.keychFrames = [];
|
|
7770
|
+
obj.keychTarget = [];
|
|
7771
7771
|
if (hasVal(getRefData(`keych`, `${scoreIdHeader}_data`))) {
|
|
7772
7772
|
const keychdata = splitLF2(getRefData(`keych`, `${scoreIdHeader}_data`), `,`);
|
|
7773
|
-
obj.keychFrames.push(...keychdata.filter((val, j) => j % 2 === 0));
|
|
7773
|
+
obj.keychFrames.push(...(keychdata.filter((val, j) => j % 2 === 0)).map(val => val === `0` ? 0 : calcFrame(val)));
|
|
7774
7774
|
obj.keychTarget.push(...keychdata.filter((val, j) => j % 2 === 1));
|
|
7775
7775
|
}
|
|
7776
|
+
obj.keychFrames.unshift(0);
|
|
7777
|
+
obj.keychTarget.unshift(`0`);
|
|
7776
7778
|
|
|
7777
7779
|
return obj;
|
|
7778
7780
|
};
|
|
@@ -8166,10 +8168,10 @@ const pushArrows = (_dataObj, _speedOnFrame, _motionOnFrame, _firstArrivalFrame)
|
|
|
8166
8168
|
_data[startNum][_j].depth === _data[startNum][_k].depth);
|
|
8167
8169
|
|
|
8168
8170
|
const isExceptData = {
|
|
8169
|
-
word: (_exceptList, _j) => listMatching(_data[startNum][_j][1]
|
|
8170
|
-
back: (_exceptList, _j) => listMatching(_data[startNum][_j].animationName
|
|
8171
|
-
mask: (_exceptList, _j) => listMatching(_data[startNum][_j].animationName
|
|
8172
|
-
style: (_exceptList, _j) => listMatching(_data[startNum][_j].depth
|
|
8171
|
+
word: (_exceptList, _j) => listMatching(_data[startNum][_j][1] || ``, _exceptList.word),
|
|
8172
|
+
back: (_exceptList, _j) => listMatching(_data[startNum][_j].animationName || ``, _exceptList.back),
|
|
8173
|
+
mask: (_exceptList, _j) => listMatching(_data[startNum][_j].animationName || ``, _exceptList.mask),
|
|
8174
|
+
style: (_exceptList, _j) => listMatching(_data[startNum][_j].depth || ``, _exceptList.style),
|
|
8173
8175
|
};
|
|
8174
8176
|
|
|
8175
8177
|
const getLength = _list =>
|