Skip to content

Commit fbc4aa2

Browse files
committed
chore: lint
1 parent ab8505d commit fbc4aa2

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

src/charting/renderer/PieChartRenderer.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,9 @@ export class PieChartRenderer extends DataRenderer {
269269
// Android API < 21 does not receive floats in addArc, but a RectF
270270

271271
if (drawInnerArc && (innerRadius > 0 || accountForSliceSpacing)) {
272-
const innerRectBuffer = Utils.getTempRectF()
273-
innerRectBuffer.set(center.x - innerRadius, center.y - innerRadius, center.x + innerRadius, center.y + innerRadius);
274-
if (accountForSliceSpacing) {
272+
const innerRectBuffer = Utils.getTempRectF();
273+
innerRectBuffer.set(center.x - innerRadius, center.y - innerRadius, center.x + innerRadius, center.y + innerRadius);
274+
if (accountForSliceSpacing) {
275275
let minSpacedRadius = this.calculateMinimumRadiusForSpacedSlice(center, radius, sliceAngle * phaseY, arcStartPointX, arcStartPointY, startAngleOuter, sweepAngleOuter);
276276

277277
if (minSpacedRadius < 0) {
@@ -785,10 +785,9 @@ export class PieChartRenderer extends DataRenderer {
785785
);
786786
}
787787

788-
789788
if (drawInnerArc && (innerRadius > 0 || accountForSliceSpacing)) {
790789
// Android API < 21 does not receive floats in addArc, but a RectF
791-
const innerRectBuffer = Utils.getTempRectF()
790+
const innerRectBuffer = Utils.getTempRectF();
792791
innerRectBuffer.set(center.x - innerRadius, center.y - innerRadius, center.x + innerRadius, center.y + innerRadius);
793792
if (accountForSliceSpacing) {
794793
let minSpacedRadius = sliceSpaceRadius;

0 commit comments

Comments
 (0)