Increased pointer event range
This commit is contained in:
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={{
|
||||
|
||||
Reference in new issue
Block a user