danoniplus 39.8.21 → 39.8.23

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 CHANGED
@@ -4,12 +4,12 @@
4
4
  *
5
5
  * Source by tickle
6
6
  * Created : 2018/10/08
7
- * Revised : 2026/03/26
7
+ * Revised : 2026/05/15
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 39.8.21`;
12
- const g_revisedDate = `2026/03/26`;
11
+ const g_version = `Ver 39.8.23`;
12
+ const g_revisedDate = `2026/05/15`;
13
13
 
14
14
  // カスタム用バージョン (danoni_custom.js 等で指定可)
15
15
  let g_localVersion = ``;
@@ -3586,9 +3586,10 @@ const headerConvert = _dosObj => {
3586
3586
 
3587
3587
  // ローカルストレージに保存済みのColorType設定からDisplayのColor設定を反映
3588
3588
  if (g_localStorage.colorType !== undefined) {
3589
- g_colorType = g_localStorage.colorType;
3589
+ g_colorType = g_keycons.colorTypes.concat(g_keycons.colorSelf).includes(g_localStorage.colorType)
3590
+ ? g_localStorage.colorType : `Default`;
3590
3591
  if (obj.colorUse) {
3591
- g_stateObj.d_color = boolToSwitch(g_keycons.colorDefTypes.findIndex(val => val === g_colorType) !== -1);
3592
+ g_stateObj.d_color = boolToSwitch(g_keycons.colorDefTypes.includes(g_colorType));
3592
3593
  }
3593
3594
  }
3594
3595
 
@@ -7432,7 +7433,7 @@ const keyConfigInit = (_kcType = g_kcType) => {
7432
7433
  * @returns {HTMLDivElement}
7433
7434
  */
7434
7435
  const makeKCButton = (_id, _text, _func, { x = g_btnX(5 / 6) - 20, y = 15, w = g_btnWidth(1 / 6), h = 18,
7435
- siz = g_limitObj.jdgCntsSiz, borderStyle = `solid`, cxtFunc, ...rest } = {}, _mainClass = g_cssObj.button_RevOFF, ..._classes) =>
7436
+ siz = g_limitObj.jdgCntsSiz, borderStyle = C_DIS_NONE, cxtFunc, ...rest } = {}, _mainClass = g_cssObj.button_RevOFF, ..._classes) =>
7436
7437
  makeSettingLblCssButton(_id, getStgDetailName(_text), 0, _func, { x, y, w, h, siz, cxtFunc, borderStyle, ...rest }, _mainClass, ..._classes);
7437
7438
 
7438
7439
  /**
package/jsconfig.json CHANGED
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "target": "es2020",
4
- "baseUrl": "./"
4
+ "paths": {
5
+ "*": [
6
+ "./*"
7
+ ]
8
+ }
5
9
  },
6
10
  "exclude": [
7
11
  "node_modules"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "39.8.21",
3
+ "version": "39.8.23",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {