danoniplus 35.5.3 → 35.5.5
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 +5 -5
- 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 : 2024/
|
|
7
|
+
* Revised : 2024/08/14
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 35.5.
|
|
12
|
-
const g_revisedDate = `2024/
|
|
11
|
+
const g_version = `Ver 35.5.5`;
|
|
12
|
+
const g_revisedDate = `2024/08/14`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -472,7 +472,7 @@ const fuzzyListMatching = (_str, _headerList, _footerList) =>
|
|
|
472
472
|
*/
|
|
473
473
|
const replaceStr = (_str, _pairs) => {
|
|
474
474
|
let tmpStr = _str;
|
|
475
|
-
_pairs.forEach(pair => tmpStr = tmpStr.
|
|
475
|
+
_pairs.forEach(pair => tmpStr = tmpStr.split(pair[0]).join(pair[1]));
|
|
476
476
|
return tmpStr;
|
|
477
477
|
};
|
|
478
478
|
|
|
@@ -4755,7 +4755,7 @@ const drawSpeedGraph = _scoreId => {
|
|
|
4755
4755
|
drawBaseLine(context);
|
|
4756
4756
|
|
|
4757
4757
|
const avgX = [0, 0];
|
|
4758
|
-
const avgSubX = [
|
|
4758
|
+
const avgSubX = [0, 0];
|
|
4759
4759
|
const lineX = [125, 210];
|
|
4760
4760
|
Object.keys(speedObj).forEach((speedType, j) => {
|
|
4761
4761
|
context.beginPath();
|