update CHANGELOG with new version

This commit is contained in:
Anton Lavrenov 2018-05-16 11:42:32 +09:00
parent 566dd7e2f0
commit 417b9a1adb
3 changed files with 7 additions and 2 deletions

View File

@ -5,6 +5,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [new version][unreleased]
## [2.1.0][2018-05-16]
## Fixed
* Cursor fixes for `Konva.Transformer`

6
konva.d.ts vendored
View File

@ -5,6 +5,10 @@ declare namespace Konva {
var isDragReady: () => boolean;
var DD: any;
type HandlerFunc = (
e: { target: Konva.Shape; evt: Event; currentTarget: Konva.Node }
) => void;
type globalCompositeOperationType =
| ''
| 'source-over'
@ -254,7 +258,7 @@ declare namespace Konva {
offsetX(offsetX: number): this;
offsetY(): number;
offsetY(offsetY: number): this;
on(evtStr: string, handler: Function): this;
on(evtStr: string, handler: HandlerFunc): this;
opacity(): number;
opacity(opacity: number): this;
pixelSize(): number;

View File

@ -277,7 +277,6 @@
height: 10,
offsetX: 5,
offsetY: 5,
draggable: true,
dragDistance: 0
});
var self = this;