Codebase list node-d3-shape / b41c51e
Fix #143 rendering glitch with rounded arcs. Mike Bostock 5 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
151151 oc;
152152
153153 // Restrict the corner radius according to the sector angle.
154 if (da <= tau - epsilon && (oc = intersect(x01, y01, x00, y00, x11, y11, x10, y10))) {
154 if (da < pi && (oc = intersect(x01, y01, x00, y00, x11, y11, x10, y10))) {
155155 var ax = x01 - oc[0],
156156 ay = y01 - oc[1],
157157 bx = x11 - oc[0],