Skip to content

Commit

Permalink
change: HalfwayについてstepYRの変化に対応
Browse files Browse the repository at this point in the history
  • Loading branch information
cwtickle committed Feb 1, 2025
1 parent 8fffdae commit 9a215c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/lib/danoni_constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -1171,8 +1171,8 @@ const g_stepAreaFunc = {
'Default': () => ``,
'Halfway': () => {
[`stepSprite`, `arrowSprite`, `frzHitSprite`].forEach(sprite => {
$id(`${sprite}0`).top = `${g_headerObj.playingHeight / 2 - g_posObj.stepY - C_ARW_WIDTH / 2}px`;
$id(`${sprite}1`).top = `-${g_headerObj.playingHeight / 2 - g_posObj.stepY - C_ARW_WIDTH / 2}px`;
$id(`${sprite}0`).top = `${g_headerObj.playingHeight / 2 - g_posObj.stepY + (g_posObj.stepYR - C_ARW_WIDTH) / 2}px`;
$id(`${sprite}1`).top = `-${g_headerObj.playingHeight / 2 - g_posObj.stepY + (g_posObj.stepYR - C_ARW_WIDTH) / 2}px`;
});
},
'Mismatched': () => {
Expand Down

0 comments on commit 9a215c4

Please sign in to comment.