mirror of
https://github.com/konvajs/konva.git
synced 2026-01-22 21:02:26 +08:00
drag&drop refactor, update docs
This commit is contained in:
@@ -6,21 +6,25 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
## [new version][unreleased]
|
||||
|
||||
### Added
|
||||
* Show a warning when a stage has too many layers.
|
||||
* Show a warning when a stage has too many layers
|
||||
* Show a warning on duplicate ids
|
||||
* Show a warning on weird class in `Node.create` parsing from JSON
|
||||
|
||||
### Changed
|
||||
* Fixes inconsistent `layer.setSize()` method. Now it has same arguments as any container.
|
||||
* Full rewrite to Typescript with tons of refactoring and small optimizations. The public API should be 100% the same
|
||||
* Fixed `patternImage` and `radialGradient` for `Konva.Text`
|
||||
* `Konva.Util._isObject` is renamed to `Konva.Util._isPlainObject`.
|
||||
* changed behavior of `removeId`.
|
||||
* A bit changed behavior of `removeId` (private method), not it doesn't clear node ref, of id is changed.
|
||||
* simplified `batchDraw` method (it doesn't use `Konva.Animation`) now.
|
||||
* `id` and `name` properties defaults are empty strings, not `undefined`
|
||||
|
||||
### Removed
|
||||
* `Konva.Util.addMethods`
|
||||
* `Konva.Util._removeLastLetter`
|
||||
* `Konva.Util._getImage`
|
||||
* `Konv.Util._getRGBAString`
|
||||
* Removed polyfill for `requestAnimationFrame`.
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user