danoniplus 48.5.3 → 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/07/04
7
+ * Revised : 2026/07/18
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 48.5.3`;
12
- const g_revisedDate = `2026/07/04`;
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
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "48.5.3",
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",