From 13fc7da40667abde48c27b0a7159c1189ce0ca00 Mon Sep 17 00:00:00 2001 From: tonyzhou1890 <1332988826@qq.com> Date: Mon, 17 Feb 2025 19:54:44 +0800 Subject: [PATCH] fix: Transformer doesn't change when the angle of Arc changes --- src/shapes/Arc.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/shapes/Arc.ts b/src/shapes/Arc.ts index 63b97c5f..f92162d5 100644 --- a/src/shapes/Arc.ts +++ b/src/shapes/Arc.ts @@ -98,7 +98,12 @@ export class Arc extends Shape { 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