mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 18:24:17 +08:00
update CHANGELOG with new version
This commit is contained in:
parent
566dd7e2f0
commit
417b9a1adb
@ -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
6
konva.d.ts
vendored
@ -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;
|
||||
|
@ -277,7 +277,6 @@
|
||||
height: 10,
|
||||
offsetX: 5,
|
||||
offsetY: 5,
|
||||
draggable: true,
|
||||
dragDistance: 0
|
||||
});
|
||||
var self = this;
|
||||
|
Loading…
Reference in New Issue
Block a user