Skip to content

Commit b5fa120

Browse files
TinyKittenclaude
andauthored
PadArchのBOUNDARY_RATIOを0.65から0.8に変更 (#5356)
https://claude.ai/code/session_01K6MMSXUhUdzXd5ne9UdeQh Co-authored-by: Claude <noreply@anthropic.com>
1 parent a5da003 commit b5fa120

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/PadArch.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ const computeColorSegments = (
103103
for (let i = 1; i <= stationColors.length; i++) {
104104
if (i === stationColors.length || stationColors[i] !== currentColor) {
105105
// アニメーションSVGはARC_SVG_Y_OFFSETだけ下にずれているため境界もずらす
106-
// 境界位置: 前の駅ドットと次の駅ドットの間を 0.65 の比率で按分(やや次の駅寄り)
107-
const BOUNDARY_RATIO = 0.65;
106+
// 境界位置: 前の駅ドットと次の駅ドットの間を 0.8 の比率で按分(やや次の駅寄り)
107+
const BOUNDARY_RATIO = 0.8;
108108
const yStart =
109109
segStartIdx === 0
110110
? -height

0 commit comments

Comments
 (0)