Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/PadArch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ const computeColorSegments = (
for (let i = 1; i <= stationColors.length; i++) {
if (i === stationColors.length || stationColors[i] !== currentColor) {
// アニメーションSVGはARC_SVG_Y_OFFSETだけ下にずれているため境界もずらす
// 境界位置: 前の駅ドットと次の駅ドットの間を 0.65 の比率で按分(やや次の駅寄り)
const BOUNDARY_RATIO = 0.65;
// 境界位置: 前の駅ドットと次の駅ドットの間を 0.8 の比率で按分(やや次の駅寄り)
const BOUNDARY_RATIO = 0.8;
const yStart =
segStartIdx === 0
? -height
Expand Down