This commit is contained in:
Anton Lavrenov
2019-10-11 07:55:04 -05:00
parent 80c674eb1f
commit 0731316a7e
4 changed files with 7 additions and 4 deletions

View File

@@ -5,6 +5,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## Not released: ## Not released:
## 4.0.14 - 2019-10-11
* TS fixes
* Fix globalCompositeOperation + cached hit detections. * Fix globalCompositeOperation + cached hit detections.
* Fix absolute position calculations for cached parent * Fix absolute position calculations for cached parent

View File

@@ -8,7 +8,7 @@
* Konva JavaScript Framework v4.0.13 * Konva JavaScript Framework v4.0.13
* http://konvajs.org/ * http://konvajs.org/
* Licensed under the MIT * Licensed under the MIT
* Date: Thu Oct 10 2019 * Date: Fri Oct 11 2019
* *
* Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS) * Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS)
* Modified work Copyright (C) 2014 - present by Anton Lavrenov (Konva) * Modified work Copyright (C) 2014 - present by Anton Lavrenov (Konva)

2
konva.min.js vendored
View File

@@ -3,7 +3,7 @@
* Konva JavaScript Framework v4.0.13 * Konva JavaScript Framework v4.0.13
* http://konvajs.org/ * http://konvajs.org/
* Licensed under the MIT * Licensed under the MIT
* Date: Thu Oct 10 2019 * Date: Fri Oct 11 2019
* *
* Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS) * Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS)
* Modified work Copyright (C) 2014 - present by Anton Lavrenov (Konva) * Modified work Copyright (C) 2014 - present by Anton Lavrenov (Konva)

View File

@@ -7,7 +7,7 @@ import { _registerNode } from '../Global';
import { GetSet, IRect } from '../types'; import { GetSet, IRect } from '../types';
export interface ImageConfig extends ShapeConfig { export interface ImageConfig extends ShapeConfig {
image: ImageBitmapSource; image: CanvasImageSource | undefined;
crop?: IRect; crop?: IRect;
} }
@@ -124,7 +124,7 @@ export class Image extends Shape<ImageConfig> {
img.src = url; img.src = url;
} }
image: GetSet<CanvasImageSource, this>; image: GetSet<CanvasImageSource | undefined, this>;
crop: GetSet<IRect, this>; crop: GetSet<IRect, this>;
cropX: GetSet<number, this>; cropX: GetSet<number, this>;
cropY: GetSet<number, this>; cropY: GetSet<number, this>;