Skip to content

Commit

Permalink
fix(map): Fix the circle color
Browse files Browse the repository at this point in the history
  • Loading branch information
LI-NA committed Apr 26, 2024
1 parent 974ccd9 commit f555389
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/map-stage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ const MapStage = ({ map, myPositions }: { map: MapType; myPositions: ScreenshotV
x={vector.x}
y={vector.y}
radius={5 / stageScale}
// fill will be transparent by 10%
fill={`rgba(255, 0, 0, ${Math.max(0, 1 - index * 0.1)})`}
fill="red"
stroke="black"
opacity={1 - index * 0.1}
shadowBlur={10}
/>
))}
Expand Down

0 comments on commit f555389

Please sign in to comment.