Comparing version 2.1.0 to 2.1.2
@@ -8,3 +8,3 @@ # Change Log | ||
## [2.1.0][2018-05-16] | ||
## [2.1.2][2018-05-16] | ||
@@ -18,2 +18,3 @@ ## Fixed | ||
* fixed `Konva.Arrow` with tension != 0 | ||
* Some fixes for `Konva.Transformer` | ||
@@ -20,0 +21,0 @@ ## [2.0.3][2018-04-21] |
{ | ||
"name": "konva", | ||
"version": "2.1.0", | ||
"version": "2.1.2", | ||
"author": "Anton Lavrenov", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -26,3 +26,3 @@ <p align="center"> | ||
```html | ||
<script src="https://cdn.rawgit.com/konvajs/konva/2.1.0/konva.min.js"></script> | ||
<script src="https://cdn.rawgit.com/konvajs/konva/2.1.2/konva.min.js"></script> | ||
<div id="container"></div> | ||
@@ -29,0 +29,0 @@ <script> |
@@ -169,10 +169,3 @@ (function(Konva) { | ||
node.on( | ||
TRANSFORM_CHANGE_STR, | ||
function() { | ||
this._clearCache(NODE_RECT); | ||
this._clearCache('transform'); | ||
this._clearSelfAndDescendantCache('absoluteTransform'); | ||
}.bind(this) | ||
); | ||
node.on(TRANSFORM_CHANGE_STR, this._resetTransformCache.bind(this)); | ||
@@ -204,2 +197,6 @@ // TODO: why do we need this? | ||
} | ||
this._resetTransformCache(); | ||
}, | ||
_resetTransformCache: function() { | ||
this._clearCache(NODE_RECT); | ||
@@ -622,3 +619,3 @@ this._clearCache('transform'); | ||
forceUpdate: function() { | ||
this._clearCache(NODE_RECT); | ||
this._resetTransformCache(); | ||
this.update(); | ||
@@ -625,0 +622,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1277924
36267