Comparing version 2.4.1 to 2.4.2
@@ -8,2 +8,8 @@ # Change Log | ||
## [2.4.2][2018-10-12] | ||
### Fixed | ||
* Fixed a wrong cache when a shape inside group has `listening = false` | ||
## [2.4.1][2018-10-08] | ||
@@ -10,0 +16,0 @@ |
@@ -8,9 +8,11 @@ declare namespace Konva { | ||
export interface KonvaEventObject<E> { | ||
target: Konva.Shape; | ||
evt: E; | ||
currentTarget: Konva.Node; | ||
cancelBubble: boolean; | ||
} | ||
type HandlerFunc<E = Event> = ( | ||
e: { | ||
target: Konva.Shape; | ||
evt: E; | ||
currentTarget: Konva.Node; | ||
cancelBubble: boolean; | ||
} | ||
e: KonvaEventObject<E> | ||
) => void; | ||
@@ -368,8 +370,3 @@ | ||
handler: ( | ||
e: { | ||
target: Konva.Shape; | ||
evt: KonvaNodeEventMap[K]; | ||
currentTarget: Konva.Node; | ||
cancelBubble: boolean; | ||
} | ||
e: KonvaEventObject<KonvaNodeEventMap[K]> | ||
) => void | ||
@@ -376,0 +373,0 @@ ): this; |
{ | ||
"name": "konva", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"author": "Anton Lavrenov", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -26,3 +26,3 @@ <p align="center"> | ||
```html | ||
<script src="https://cdn.rawgit.com/konvajs/konva/2.4.1/konva.min.js"></script> | ||
<script src="https://unpkg.com/konva@2.4.1/konva.js"></script> | ||
<div id="container"></div> | ||
@@ -72,6 +72,6 @@ <script> | ||
```html | ||
<script src="https://cdn.rawgit.com/konvajs/konva/1.7.3/konva.min.js"></script> | ||
<script src="https://unpkg.com/konva@2.4.1/konva.js"></script> | ||
``` | ||
You can use CDN: [https://cdn.rawgit.com/konvajs/konva/1.7.3/konva.min.js](https://cdn.rawgit.com/konvajs/konva/1.7.3/konva.min.js) | ||
You can use CDN: [https://unpkg.com/konva@2.4.1/konva.js](https://unpkg.com/konva@2.4.1/konva.js) | ||
@@ -78,0 +78,0 @@ ### 2 Load via AMD (requirejs): |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1341165
38617