danoniplus 35.5.1 → 35.5.2

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 : 2024/05/18
7
+ * Revised : 2024/06/08
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 35.5.1`;
12
- const g_revisedDate = `2024/05/18`;
11
+ const g_version = `Ver 35.5.2`;
12
+ const g_revisedDate = `2024/06/08`;
13
13
 
14
14
  // カスタム用バージョン (danoni_custom.js 等で指定可)
15
15
  let g_localVersion = ``;
@@ -8944,8 +8944,8 @@ const mainInit = _ => {
8944
8944
  const filterCss = g_stateObj.filterLock === C_FLG_OFF ? g_cssObj.life_Failed : g_cssObj.life_Cleared;
8945
8945
  [`filterBar0`, `filterBar1`, `borderBar0`, `borderBar1`].forEach(obj =>
8946
8946
  mainSprite.appendChild(createColorObject2(obj, g_lblPosObj.filterBar, filterCss)));
8947
- borderBar0.style.top = wUnit(g_posObj.stepDiffY);
8948
- borderBar1.style.top = wUnit(g_posObj.stepDiffY + g_posObj.arrowHeight);
8947
+ borderBar0.style.top = wUnit(g_posObj.stepDiffY + g_stateObj.hitPosition);
8948
+ borderBar1.style.top = wUnit(g_posObj.stepDiffY + g_posObj.arrowHeight - g_stateObj.hitPosition);
8949
8949
 
8950
8950
  if (g_appearanceRanges.includes(g_stateObj.appearance)) {
8951
8951
  mainSprite.appendChild(createDivCss2Label(`filterView`, ``, g_lblPosObj.filterView));
@@ -10098,8 +10098,8 @@ const changeAppearanceFilter = (_appearance, _num = 10) => {
10098
10098
  $id(`arrowSprite${topNum}`).clipPath = topShape;
10099
10099
  $id(`arrowSprite${bottomNum}`).clipPath = bottomShape;
10100
10100
 
10101
- $id(`filterBar0`).top = wUnit(g_posObj.arrowHeight * _num / 100);
10102
- $id(`filterBar1`).top = wUnit(g_posObj.arrowHeight * (100 - _num) / 100);
10101
+ $id(`filterBar0`).top = wUnit(g_posObj.arrowHeight * _num / 100 + g_stateObj.hitPosition);
10102
+ $id(`filterBar1`).top = wUnit(g_posObj.arrowHeight * (100 - _num) / 100 - g_stateObj.hitPosition);
10103
10103
 
10104
10104
  if (g_appearanceRanges.includes(_appearance)) {
10105
10105
  $id(`filterView`).top =
@@ -10987,7 +10987,7 @@ const resultInit = _ => {
10987
10987
  tweetResultTmp = tweetResultTmp.split(`[${key}]`).join(g_resultObj[g_presetObj.resultVals[key]]));
10988
10988
  }
10989
10989
  const resultText = `${unEscapeHtml(tweetResultTmp)}`;
10990
- const tweetResult = `https://x.com/intent/tweet?text=${encodeURIComponent(resultText)}`;
10990
+ const tweetResult = `https://x.com/intent/post?text=${encodeURIComponent(resultText)}`;
10991
10991
  const currentDateTime = new Date().toLocaleString();
10992
10992
 
10993
10993
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "35.5.1",
3
+ "version": "35.5.2",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/skin/skin_css.zip DELETED
Binary file