danoniplus 48.5.2 → 48.5.4

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/06/23
7
+ * Revised : 2026/07/18
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 48.5.2`;
12
- const g_revisedDate = `2026/06/23`;
11
+ const g_version = `Ver 48.5.4`;
12
+ const g_revisedDate = `2026/07/18`;
13
13
 
14
14
  // カスタム用バージョン (danoni_custom.js 等で指定可)
15
15
  let g_localVersion = ``;
@@ -10014,7 +10014,8 @@ const createGeneralSettingEx = (_spriteList, _name, { defaultList = [C_FLG_OFF],
10014
10014
  */
10015
10015
  const setExpandedBtnSiz = () => {
10016
10016
  const camelH = toCapitalize(_name);
10017
- if (defaultList.includes(g_stateObj[_name])) {
10017
+ const isDefault = defaultList.includes(g_stateObj[_name]);
10018
+ if (isDefault) {
10018
10019
  $id(`lnk${camelH}Type`).display = C_DIS_NONE;
10019
10020
  $id(`lnk${camelH}`).left = wUnit(g_limitObj.setLblLeft);
10020
10021
  $id(`lnk${camelH}`).width = wUnit(g_limitObj.setLblWidth);
@@ -10023,7 +10024,8 @@ const createGeneralSettingEx = (_spriteList, _name, { defaultList = [C_FLG_OFF],
10023
10024
  $id(`lnk${camelH}`).left = wUnit(g_limitObj.setLblLeftShort);
10024
10025
  $id(`lnk${camelH}`).width = wUnit(g_limitObj.setLblWidthShort);
10025
10026
  }
10026
- $id(`lnk${camelH}`).fontSize = wUnit(getFontSize2(getStgDetailName(g_stateObj[_name]), g_limitObj.setLblWidthShort, { maxSiz: g_limitObj.setLblSiz }));
10027
+ const labelWidth = isDefault ? g_limitObj.setLblWidth : g_limitObj.setLblWidthShort - 10;
10028
+ $id(`lnk${camelH}`).fontSize = wUnit(getFontSize2(getStgDetailName(g_stateObj[_name]), labelWidth, { maxSiz: g_limitObj.setLblSiz }));
10027
10029
  };
10028
10030
 
10029
10031
  /**
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Source by tickle
7
7
  * Created : 2019/11/19
8
- * Revised : 2026/06/14 (v48.5.0)
8
+ * Revised : 2026/07/04 (v48.5.3)
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": "48.5.2",
3
+ "version": "48.5.4",
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",