Increased pointer event range

This commit is contained in:
Daniel Cojocea committed 2024-09-12 20:51:00 -04:00
1 parent 146a646365
commit 5c3f716243
1 file changed
+1 -7
@@ -20,13 +20,7 @@ const PieCenterLabel = ({ value, color, setExpand }) => {
transform={`translate(${width / 2}, ${height / 2})`}
onMouseEnter={() => setExpand(true)}
>
<circle
cx={0}
cy={0}
r={width / 3}
fill="transparent"
pointerEvents="none"
/>
<circle cx={0} cy={0} r={width / 4} fill="transparent" />
<text
className="pie-label"
style={{