danoniplus 36.4.1 → 36.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/README.md +2 -1
- package/js/danoni_main.js +6 -5
- package/package.json +1 -1
- package/skin/skin_css.zip +0 -0
package/README.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.codefactor.io/repository/github/cwtickle/danoniplus)
|
|
4
4
|
[](https://app.codacy.com/gh/cwtickle/danoniplus/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
|
|
5
|
-
[](https://github.com/cwtickle/danoniplus/actions?query=workflow%3ACodeQL)
|
|
5
|
+
[](https://github.com/cwtickle/danoniplus/actions?query=workflow%3ACodeQL)
|
|
6
|
+
[](https://discord.gg/YVWUdUGyMy)
|
|
6
7
|
[](https://github.com/cwtickle/danoniplus/security/policy)
|
|
7
8
|
[](https://github.com/cwtickle/danoniplus/releases)
|
|
8
9
|
[](https://github.com/cwtickle/danoniplus/blob/develop/LICENSE)
|
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/
|
|
7
|
+
* Revised : 2024/06/01
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 36.4.
|
|
12
|
-
const g_revisedDate = `2024/
|
|
11
|
+
const g_version = `Ver 36.4.2`;
|
|
12
|
+
const g_revisedDate = `2024/06/01`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -242,7 +242,7 @@ const convertStrToVal = _str => {
|
|
|
242
242
|
* 半角スペース、タブを文字列から除去
|
|
243
243
|
* @param {string} _str
|
|
244
244
|
*/
|
|
245
|
-
const trimStr = _str => _str?.split(`\t`).join(``).
|
|
245
|
+
const trimStr = _str => _str?.split(`\t`).join(``).replace(/^ +| +$/g, ``);
|
|
246
246
|
|
|
247
247
|
/*-----------------------------------------------------------*/
|
|
248
248
|
/* 値や配列のチェック・変換 */
|
|
@@ -1582,7 +1582,8 @@ const makeSpriteData = (_data, _calcFrame = _frame => _frame) => {
|
|
|
1582
1582
|
const tmpSpriteData = tmpData.split(`,`).map(val => trimStr(val));
|
|
1583
1583
|
|
|
1584
1584
|
// 深度が"-"の場合はスキップ
|
|
1585
|
-
if (
|
|
1585
|
+
if (tmpSpriteData[1] === undefined || tmpSpriteData[1] === `-` ||
|
|
1586
|
+
(tmpSpriteData[1] === `` && ![`[loop]`, `[jump]`].includes(tmpSpriteData[2]))) {
|
|
1586
1587
|
return;
|
|
1587
1588
|
}
|
|
1588
1589
|
|
package/package.json
CHANGED
package/skin/skin_css.zip
DELETED
|
Binary file
|