danoniplus 34.7.5 → 34.7.6

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 34.7.5`;
12
- const g_revisedDate = `2024/05/18`;
11
+ const g_version = `Ver 34.7.6`;
12
+ const g_revisedDate = `2024/06/08`;
13
13
 
14
14
  // カスタム用バージョン (danoni_custom.js 等で指定可)
15
15
  let g_localVersion = ``;
@@ -8805,8 +8805,8 @@ const mainInit = _ => {
8805
8805
  const filterCss = g_stateObj.filterLock === C_FLG_OFF ? g_cssObj.life_Failed : g_cssObj.life_Cleared;
8806
8806
  [`filterBar0`, `filterBar1`, `borderBar0`, `borderBar1`].forEach(obj =>
8807
8807
  mainSprite.appendChild(createColorObject2(obj, g_lblPosObj.filterBar, filterCss)));
8808
- borderBar0.style.top = wUnit(g_posObj.stepDiffY);
8809
- borderBar1.style.top = wUnit(g_posObj.stepDiffY + g_posObj.arrowHeight);
8808
+ borderBar0.style.top = wUnit(g_posObj.stepDiffY + g_stateObj.hitPosition);
8809
+ borderBar1.style.top = wUnit(g_posObj.stepDiffY + g_posObj.arrowHeight - g_stateObj.hitPosition);
8810
8810
 
8811
8811
  if (g_appearanceRanges.includes(g_stateObj.appearance)) {
8812
8812
  mainSprite.appendChild(createDivCss2Label(`filterView`, ``, g_lblPosObj.filterView));
@@ -9959,8 +9959,8 @@ const changeAppearanceFilter = (_appearance, _num = 10) => {
9959
9959
  $id(`arrowSprite${topNum}`).clipPath = topShape;
9960
9960
  $id(`arrowSprite${bottomNum}`).clipPath = bottomShape;
9961
9961
 
9962
- $id(`filterBar0`).top = wUnit(g_posObj.arrowHeight * _num / 100);
9963
- $id(`filterBar1`).top = wUnit(g_posObj.arrowHeight * (100 - _num) / 100);
9962
+ $id(`filterBar0`).top = wUnit(g_posObj.arrowHeight * _num / 100 + g_stateObj.hitPosition);
9963
+ $id(`filterBar1`).top = wUnit(g_posObj.arrowHeight * (100 - _num) / 100 - g_stateObj.hitPosition);
9964
9964
 
9965
9965
  if (g_appearanceRanges.includes(_appearance)) {
9966
9966
  $id(`filterView`).top =
@@ -10844,7 +10844,7 @@ const resultInit = _ => {
10844
10844
  tweetResultTmp = tweetResultTmp.split(`[${key}]`).join(g_resultObj[g_presetObj.resultVals[key]]));
10845
10845
  }
10846
10846
  const resultText = `${unEscapeHtml(tweetResultTmp)}`;
10847
- const tweetResult = `https://x.com/intent/tweet?text=${encodeURIComponent(resultText)}`;
10847
+ const tweetResult = `https://x.com/intent/post?text=${encodeURIComponent(resultText)}`;
10848
10848
  const currentDateTime = new Date().toLocaleString();
10849
10849
 
10850
10850
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "34.7.5",
3
+ "version": "34.7.6",
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