danoniplus 47.6.5 → 47.6.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 CHANGED
@@ -4,12 +4,12 @@
4
4
  *
5
5
  * Source by tickle
6
6
  * Created : 2018/10/08
7
- * Revised : 2026/05/26
7
+ * Revised : 2026/07/04
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 47.6.5`;
12
- const g_revisedDate = `2026/05/26`;
11
+ const g_version = `Ver 47.6.7`;
12
+ const g_revisedDate = `2026/07/18`;
13
13
 
14
14
  // カスタム用バージョン (danoni_custom.js 等で指定可)
15
15
  let g_localVersion = ``;
@@ -9373,7 +9373,8 @@ const createGeneralSettingEx = (_spriteList, _name, { defaultList = [C_FLG_OFF],
9373
9373
  */
9374
9374
  const setExpandedBtnSiz = () => {
9375
9375
  const camelH = toCapitalize(_name);
9376
- if (defaultList.includes(g_stateObj[_name])) {
9376
+ const isDefault = defaultList.includes(g_stateObj[_name]);
9377
+ if (isDefault) {
9377
9378
  $id(`lnk${camelH}Type`).display = C_DIS_NONE;
9378
9379
  $id(`lnk${camelH}`).left = wUnit(g_limitObj.setLblLeft);
9379
9380
  $id(`lnk${camelH}`).width = wUnit(g_limitObj.setLblWidth);
@@ -9382,7 +9383,8 @@ const createGeneralSettingEx = (_spriteList, _name, { defaultList = [C_FLG_OFF],
9382
9383
  $id(`lnk${camelH}`).left = wUnit(g_limitObj.setLblLeftShort);
9383
9384
  $id(`lnk${camelH}`).width = wUnit(g_limitObj.setLblWidthShort);
9384
9385
  }
9385
- $id(`lnk${camelH}`).fontSize = wUnit(getFontSize2(getStgDetailName(g_stateObj[_name]), g_limitObj.setLblWidthShort, { maxSiz: g_limitObj.setLblSiz }));
9386
+ const labelWidth = isDefault ? g_limitObj.setLblWidth : g_limitObj.setLblWidthShort - 10;
9387
+ $id(`lnk${camelH}`).fontSize = wUnit(getFontSize2(getStgDetailName(g_stateObj[_name]), labelWidth, { maxSiz: g_limitObj.setLblSiz }));
9386
9388
  };
9387
9389
 
9388
9390
  /**
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Source by tickle
7
7
  * Created : 2019/11/19
8
- * Revised : 2026/05/13 (v47.6.1)
8
+ * Revised : 2026/07/04 (v47.6.6)
9
9
  *
10
10
  * https://github.com/cwtickle/danoniplus
11
11
  */
@@ -145,7 +145,8 @@ const g_localeObj = {
145
145
  };
146
146
 
147
147
  const g_userAgent = window.navigator.userAgent.toLowerCase(); // msie, edge, chrome, safari, firefox, opera
148
- const g_isIos = listMatching(g_userAgent, [`iphone`, `ipad`, `ipod`]);
148
+ const g_isIos = listMatching(g_userAgent, [`iphone`, `ipad`, `ipod`]) ||
149
+ (navigator.maxTouchPoints > 1 && /macintosh/i.test(g_userAgent));
149
150
  const g_isMac = listMatching(g_userAgent, [`iphone`, `ipad`, `ipod`, `mac os`]);
150
151
 
151
152
  // 変数型
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "47.6.5",
3
+ "version": "47.6.7",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "./js/danoni_main.js",
6
6
  "jsdelivr": "./js/danoni_main.js",