new transformer style functions

This commit is contained in:
Anton Lavrenov
2018-08-10 10:22:08 +07:00
parent 77af92cbf0
commit 093d501cf6
5 changed files with 382 additions and 140 deletions

View File

@@ -5,9 +5,17 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [new version][unreleased]
### Added
* New properties for `Konva.Transformer`: `borderStroke`, `borderStrokeWidth`, `borderDash`, `anchorStroke`, `anchorStrokeWidth`, `anchorSize`.
### Changed
* Some properties of `Konva.Transformer` are renamed. `lineEnabled` -> `borderEnabled`. `rotateHandlerOffset` -> `rotateAnchorOffset`, `enabledHandlers` -> `enabledAnchors`.
## [2.1.8][2018-08-01]
## Fixed
### Fixed
* Some `Konva.Transformer` fixes
* Typescript fixes
@@ -16,33 +24,33 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [2.1.7][2018-07-03]
## Fixed
### Fixed
* `toObject` fixes
## [2.1.7][2018-07-03]
## Fixed
### Fixed
* Some drag&drop fixes
## [2.1.6][2018-06-16]
## Fixed
### Fixed
* Removed wrong dep
* Typescript fixes
## [2.1.5][2018-06-15]
## Fixed
### Fixed
* Typescript fixes
* add shape as second argument for `sceneFunc` and `hitFunc`
## [2.1.4][2018-06-15]
## Fixed
### Fixed
* Fixed `Konva.Text` justify drawing for a text with decoration
* Added methods `data()`,`setData()` and `getData()` methods to `Konva.TextPath`
@@ -50,14 +58,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [2.1.3][2018-05-17]
## Fixed
### Fixed
* `Konva.Transformer` automatically track shape changes
* `Konva.Transformer` works with shapes with offset too
## [2.1.2][2018-05-16]
## Fixed
### Fixed
* Cursor fixes for `Konva.Transformer`
* Fixed lineHeight behavior for `Konva.Text`
@@ -78,7 +86,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
* Fixed flow for `contextmenu` event. Now it will be triggered on shapes too
* `find()` method for Containers can use a function as a parameter
## Fixed
### Fixed
* some bugs fixes for `group.getClientRect()`
* `Konva.Arrow` will not draw dash for pointers
@@ -88,13 +96,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [2.0.2][2018-03-15]
## Fixed
### Fixed
* Even more bugs fixes for `Konva.Transformer`
## [2.0.1][2018-03-15]
## Fixed
### Fixed
* Several bugs fixes for `Konva.Transformer`
@@ -113,7 +121,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
* stage events are slightly changed. `mousedown`, `click`, `mouseup`, `dblclick`, `touchstart`, `touchend`, `tap`, `dbltap` will be triggered when clicked on empty areas too
## Fixed
### Fixed
* Some typescript fixes
* Pixelate filter fixes
@@ -126,13 +134,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [1.7.6][2017-11-01]
## Fixed
### Fixed
* Some typescript fixes
## [1.7.4][2017-10-30]
## Fixed
### Fixed
* `isBrowser` detection for electron