danoniplus 48.5.1 → 48.5.3
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 +4 -4
- 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 48.5.
|
|
12
|
-
const g_revisedDate = `2026/
|
|
11
|
+
const g_version = `Ver 48.5.3`;
|
|
12
|
+
const g_revisedDate = `2026/07/04`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -8133,7 +8133,7 @@ const setDifficulty = (_initFlg) => {
|
|
|
8133
8133
|
// 3. 名称の設定
|
|
8134
8134
|
|
|
8135
8135
|
// 譜面名設定 (Difficulty)
|
|
8136
|
-
const difWidth = parseFloat(lnkDifficulty.style.width);
|
|
8136
|
+
const difWidth = parseFloat(lnkDifficulty.style.width) - 20;
|
|
8137
8137
|
const transKeyName = getTransKeyName();
|
|
8138
8138
|
const keyUnitName = getStgDetailName(getKeyUnitName(g_keyObj.currentKey));
|
|
8139
8139
|
const difNames = [`${getKeyName(g_keyObj.currentKey)}${transKeyName} ${keyUnitName} / ${g_headerObj.difLabels[g_stateObj.scoreId]}`];
|
|
@@ -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 (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
|
// 変数型
|