mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 04:14:52 +08:00
update CHANGELOG with new version
This commit is contained in:
@@ -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;
|
||||
|
||||
|
4
konva.js
4
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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user