mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
Fix autodrawing for Konva.Transformer
when it is on a different layer
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
* Fix autodrawing for `Konva.Transformer` when it is on a different layer
|
||||
* Fix `Konva.RegularPolygon` size calculations.
|
||||
|
||||
## 7.1.8
|
||||
|
@@ -1033,6 +1033,7 @@ export class Transformer extends Group {
|
||||
node.setAttrs(attrs);
|
||||
this._fire('transform', { evt: evt, target: node });
|
||||
node._fire('transform', { evt: evt, target: node });
|
||||
node.getLayer()?.batchDraw();
|
||||
});
|
||||
this.rotation(Util._getRotation(newAttrs.rotation));
|
||||
this._resetTransformCache();
|
||||
|
Reference in New Issue
Block a user