Remove unused property from arc element for center calculation (#11124)

This commit is contained in:
stockiNail 2023-02-09 00:01:11 +01:00 committed by GitHub
parent 6cb10dc895
commit 1db46efa5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -327,8 +327,7 @@ export default class ArcElement extends Element<ArcProps, ArcOptions> {
'startAngle',
'endAngle',
'innerRadius',
'outerRadius',
'circumference',
'outerRadius'
], useFinalPosition);
const {offset, spacing} = this.options;
const halfAngle = (startAngle + endAngle) / 2;