Correct cache reset for Konva.Transformer

This commit is contained in:
Anton Lavrenov
2018-06-15 13:12:02 +07:00
parent d685807605
commit 74d7a65b16
6 changed files with 51 additions and 6 deletions

View File

@@ -176,7 +176,7 @@
this.detach();
}
this._node = node;
this._clearCache(NODE_RECT);
this._resetTransformCache();
node.on(TRANSFORM_CHANGE_STR, this._resetTransformCache.bind(this));
node.on(