Skip to content

Commit

Permalink
fix(clip): fix line disappears on polar with clip enabled (#11294)
Browse files Browse the repository at this point in the history
  • Loading branch information
pissang authored Sep 20, 2019
1 parent 7eff513 commit 95bf845
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/chart/helper/createClipPathFromCoordSys.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function createPolarClipPath(polar, hasAnimation, seriesModel) {
cx: round(polar.cx, 1),
cy: round(polar.cy, 1),
r0: round(sectorArea.r0, 1),
r: round(sectorArea.r1, 1),
r: round(sectorArea.r, 1),
startAngle: sectorArea.startAngle,
endAngle: sectorArea.endAngle,
clockwise: sectorArea.clockwise
Expand All @@ -81,7 +81,6 @@ function createPolarClipPath(polar, hasAnimation, seriesModel) {
}
}, seriesModel);
}

return clipPath;
}

Expand Down

0 comments on commit 95bf845

Please sign in to comment.