danoniplus 49.1.0 → 49.1.1
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 -3
- 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/07/
|
|
7
|
+
* Revised : 2026/07/04
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 49.1.
|
|
12
|
-
const g_revisedDate = `2026/07/
|
|
11
|
+
const g_version = `Ver 49.1.1`;
|
|
12
|
+
const g_revisedDate = `2026/07/04`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -12039,6 +12039,7 @@ const setAudio = async (_url, _cacheKey = _url) => {
|
|
|
12039
12039
|
g_currentPage = `loadingIos`;
|
|
12040
12040
|
lblLoading.textContent = `Click to Start!`;
|
|
12041
12041
|
divRoot.appendChild(makePlayButton(evt => {
|
|
12042
|
+
getSharedAudioContext().resume();
|
|
12042
12043
|
g_currentPage = `loading`;
|
|
12043
12044
|
resetKeyControl();
|
|
12044
12045
|
divRoot.removeChild(evt.target);
|
|
@@ -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 (v49.1.1)
|
|
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
|
// 変数型
|