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 +7 -5
- package/js/lib/danoni_constants.js +3 -2
- package/package.json +1 -1
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/
|
|
7
|
+
* Revised : 2026/07/04
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 47.6.
|
|
12
|
-
const g_revisedDate = `2026/
|
|
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
|
-
|
|
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
|
-
|
|
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/
|
|
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
|
// 変数型
|