mirror of
https://github.com/konvajs/konva.git
synced 2025-11-24 16:53:06 +08:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e49742517e | ||
|
|
7c1ce9f5b6 | ||
|
|
dc7dd00209 |
@@ -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;
|
||||
|
||||
8
konva.js
8
konva.js
@@ -1,8 +1,8 @@
|
||||
/*
|
||||
* Konva JavaScript Framework v1.7.4
|
||||
* Konva JavaScript Framework v1.7.5
|
||||
* http://konvajs.github.io/
|
||||
* Licensed under the MIT or GPL Version 2 licenses.
|
||||
* Date: Mon Oct 30 2017
|
||||
* Date: Wed Nov 01 2017
|
||||
*
|
||||
* Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS)
|
||||
* Modified work Copyright (C) 2014 - 2017 by Anton Lavrenov (Konva)
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
var Konva = {
|
||||
// public
|
||||
version: '1.7.4',
|
||||
version: '1.7.5',
|
||||
|
||||
// private
|
||||
stages: [],
|
||||
@@ -51,7 +51,9 @@
|
||||
|
||||
isBrowser:
|
||||
typeof window !== 'undefined' &&
|
||||
// browser case
|
||||
({}.toString.call(window) === '[object Window]' ||
|
||||
// electron case
|
||||
{}.toString.call(window) === '[object global]'),
|
||||
|
||||
// configurations
|
||||
|
||||
6
konva.min.js
vendored
6
konva.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "konva",
|
||||
"version": "1.7.4",
|
||||
"version": "1.7.5",
|
||||
"author": "Anton Lavrenov",
|
||||
"files": [
|
||||
"README.md",
|
||||
|
||||
@@ -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