update CHANGELOG with new version

This commit is contained in:
Anton Lavrenov 2019-09-17 12:54:42 -05:00
parent 7d05194189
commit ea042183c7
4 changed files with 2 additions and 5 deletions

View File

@ -5,7 +5,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## Not released:
## 4.0.11 - 2019-09-17
## 4.0.12 - 2019-09-17
* Fix some bugs when `Konva.Transformer` has `padding > 0`

View File

@ -14848,7 +14848,6 @@
if (keepProportion) {
newHypotenuse = Math.sqrt(Math.pow(this.findOne('.top-right').x() - anchorNode.x() - padding * 2, 2) +
Math.pow(anchorNode.y() - this.findOne('.top-right').y() - padding * 2, 2));
console.error(newHypotenuse);
var reverseX = this.findOne('.top-right').x() < this.findOne('.bottom-left').x()
? -1
: 1;

2
konva.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -540,8 +540,6 @@ export class Transformer extends Group {
)
);
console.error(newHypotenuse);
var reverseX =
this.findOne('.top-right').x() < this.findOne('.bottom-left').x()
? -1