mirror of
https://github.com/konvajs/konva.git
synced 2025-11-24 08:46:44 +08:00
update CHANGELOG with new version
This commit is contained in:
@@ -4,6 +4,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## [Not released][Not released]
|
||||
|
||||
## [1.7.5][2017-11-01]
|
||||
|
||||
## Fixed
|
||||
- Some typescript fixes
|
||||
|
||||
## [1.7.4][2017-10-30]
|
||||
|
||||
## Fixed
|
||||
|
||||
4
konva.d.ts
vendored
4
konva.d.ts
vendored
@@ -332,6 +332,7 @@ declare module Konva {
|
||||
stroke?: string;
|
||||
strokeWidth?: number;
|
||||
strokeScaleEnabled?: boolean;
|
||||
strokeHitEnabled?: boolean;
|
||||
strokeEnabled?: boolean;
|
||||
lineJoin?: string;
|
||||
lineCap?: string;
|
||||
@@ -476,10 +477,11 @@ declare module Konva {
|
||||
|
||||
interface LayerConfig extends ContainerConfig {
|
||||
clearBeforeDraw?: boolean;
|
||||
hitGraphEnabled?: boolean;
|
||||
}
|
||||
|
||||
class FastLayer extends Container {
|
||||
constructor (config?: ContainerConfig);
|
||||
constructor (config?: LayerConfig);
|
||||
drawScene(): void;
|
||||
hitGraphEnabled(val: boolean): FastLayer;
|
||||
batchDraw(): void;
|
||||
|
||||
@@ -51,7 +51,9 @@
|
||||
|
||||
isBrowser:
|
||||
typeof window !== 'undefined' &&
|
||||
// browser case
|
||||
({}.toString.call(window) === '[object Window]' ||
|
||||
// electron case
|
||||
{}.toString.call(window) === '[object global]'),
|
||||
|
||||
// configurations
|
||||
|
||||
Reference in New Issue
Block a user