mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 05:10:26 +08:00
Merge pull request #1888 from tonyzhou1890/master
fix: Transformer doesn't change when the angle of Arc changes #1871
This commit is contained in:
commit
bd5482766a
@ -98,7 +98,12 @@ export class Arc extends Shape<ArcConfig> {
|
|||||||
|
|
||||||
Arc.prototype._centroid = true;
|
Arc.prototype._centroid = true;
|
||||||
Arc.prototype.className = 'Arc';
|
Arc.prototype.className = 'Arc';
|
||||||
Arc.prototype._attrsAffectingSize = ['innerRadius', 'outerRadius'];
|
Arc.prototype._attrsAffectingSize = [
|
||||||
|
'innerRadius',
|
||||||
|
'outerRadius',
|
||||||
|
'angle',
|
||||||
|
'clockwise',
|
||||||
|
];
|
||||||
_registerNode(Arc);
|
_registerNode(Arc);
|
||||||
|
|
||||||
// add getters setters
|
// add getters setters
|
||||||
|
Loading…
Reference in New Issue
Block a user