From 9b5ecbcc649a54c4bbcdf6d16f391c446b6c1573 Mon Sep 17 00:00:00 2001 From: Anton Lavrenov Date: Fri, 8 May 2020 10:07:05 -0500 Subject: [PATCH] update CHANGELOG with new version --- CHANGELOG.md | 4 ++-- konva.js | 4 ++-- src/shapes/Transformer.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5fd9a474..aafbc060 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,9 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## Not released: -## 6.0.0 - 2020-05-01 +## 6.0.0 - 2020-05-08 -* **BREAKING!** `boundBoxFunc` of `Konva.Transformer` works in absolute coordinates of whole transformer. +* **BREAKING!** `boundBoxFunc` of `Konva.Transformer` works in absolute coordinates of whole transformer. Previously in was working in local coordinates of transforming node. * Many `Konva.Transformer` fixes. Now it works correctly when you transform several rotated shapes. * Fix for wrong `mouseleave` and `mouseout` fire on shape remove/destroy; diff --git a/konva.js b/konva.js index b62633b7..11208b3a 100644 --- a/konva.js +++ b/konva.js @@ -15985,7 +15985,7 @@ */ Factory.addGetterSetter(Transformer, 'nodes'); /** - * get/set bounding box function. **IMPORTANT!** boundBondFunc operates in absolute coordinates + * get/set bounding box function. **IMPORTANT!** boundBondFunc operates in absolute coordinates. * @name Konva.Transformer#boundBoxFunc * @method * @param {Function} func @@ -15996,7 +15996,7 @@ * * // set * transformer.boundBoxFunc(function(oldBox, newBox) { - * // width and height of the boxes are corresponding to total absolute width and height of all nodes cobined + * // width and height of the boxes are corresponding to total absolute width and height of all nodes combined * // so it includes scale of the node. * if (newBox.width > 200) { * return oldBox; diff --git a/src/shapes/Transformer.ts b/src/shapes/Transformer.ts index 01e31a02..818e3d14 100644 --- a/src/shapes/Transformer.ts +++ b/src/shapes/Transformer.ts @@ -1568,7 +1568,7 @@ Factory.addGetterSetter(Transformer, 'node'); Factory.addGetterSetter(Transformer, 'nodes'); /** - * get/set bounding box function. **IMPORTANT!** boundBondFunc operates in absolute coordinates + * get/set bounding box function. **IMPORTANT!** boundBondFunc operates in absolute coordinates. * @name Konva.Transformer#boundBoxFunc * @method * @param {Function} func @@ -1579,7 +1579,7 @@ Factory.addGetterSetter(Transformer, 'nodes'); * * // set * transformer.boundBoxFunc(function(oldBox, newBox) { - * // width and height of the boxes are corresponding to total absolute width and height of all nodes cobined + * // width and height of the boxes are corresponding to total absolute width and height of all nodes combined * // so it includes scale of the node. * if (newBox.width > 200) { * return oldBox;