Skip to content

Commit

Permalink
style: 써클에 커서 포인터 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
yunchaehyun authored and flydog98 committed Dec 14, 2023
1 parent cbe1dde commit 1b76844
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/frontend/src/components/graph/Graph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ function renderD3(svgRef: RefObject<SVGGElement>, data: InitialDataProps[]) {
.transition()
.duration(DURATION)
.style("opacity", 1)
.style("cursor", "pointer")
.attr(
"fill",
(d: d3.HierarchyPointNode<InitialDataProps>) => d.data?.color ?? "",
Expand Down
5 changes: 2 additions & 3 deletions packages/frontend/src/components/graph/renderTooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,9 @@ export default function renderTooltip(
.append("rect")
.attr("width", 30)
.attr("height", 30)
// 요기나
.attr("fill", "transparent")
// 요기 바꿔보심 돼여
.attr("stroke", color.$scale.grey300)
.attr("fill", "transparent")
.style("cursor", "pointer")
.attr("transform", transparentRectPosition);

tooltip
Expand Down

0 comments on commit 1b76844

Please sign in to comment.