fix: Transformer doesn't change when the angle of Arc changes

This commit is contained in:
tonyzhou1890 2025-02-17 19:54:44 +08:00
parent dd19e32ba8
commit 13fc7da406

View File

@ -98,7 +98,12 @@ export class Arc extends Shape<ArcConfig> {
Arc.prototype._centroid = true;
Arc.prototype.className = 'Arc';
Arc.prototype._attrsAffectingSize = ['innerRadius', 'outerRadius'];
Arc.prototype._attrsAffectingSize = [
'innerRadius',
'outerRadius',
'angle',
'clockwise',
];
_registerNode(Arc);
// add getters setters