diff --git a/CircleSnail.js b/CircleSnail.js index c4d752e..ae82f1d 100644 --- a/CircleSnail.js +++ b/CircleSnail.js @@ -136,11 +136,7 @@ export default class CircleSnail extends Component { return null; } - const radius = size / 2 - thickness; - const offset = { - top: thickness, - left: thickness, - }; + const radius = size / 2; const directionFactor = direction === 'counter-clockwise' ? -1 : 1; @@ -172,7 +168,6 @@ export default class CircleSnail extends Component { } radius={radius} stroke={Array.isArray(color) ? color[this.state.colorIndex] : color} - offset={offset} startAngle={this.state.startAngle} endAngle={this.state.endAngle} strokeCap={strokeCap}