mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
update CHANGELOG with new version
This commit is contained in:
parent
264c0f5031
commit
f796e9dd3d
12
konva.js
12
konva.js
@ -8,7 +8,7 @@
|
|||||||
* Konva JavaScript Framework v8.0.1
|
* Konva JavaScript Framework v8.0.1
|
||||||
* http://konvajs.org/
|
* http://konvajs.org/
|
||||||
* Licensed under the MIT
|
* Licensed under the MIT
|
||||||
* Date: Fri May 21 2021
|
* Date: Thu May 27 2021
|
||||||
*
|
*
|
||||||
* 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)
|
||||||
@ -5201,9 +5201,9 @@
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
this._validateAdd(child);
|
this._validateAdd(child);
|
||||||
child._clearCaches();
|
|
||||||
child.index = this.getChildren().length;
|
child.index = this.getChildren().length;
|
||||||
child.parent = this;
|
child.parent = this;
|
||||||
|
child._clearCaches();
|
||||||
this.getChildren().push(child);
|
this.getChildren().push(child);
|
||||||
this._fire('add', {
|
this._fire('add', {
|
||||||
child: child,
|
child: child,
|
||||||
@ -6946,10 +6946,9 @@
|
|||||||
// 2 - when we are caching current
|
// 2 - when we are caching current
|
||||||
// 3 - when node is cached and we need to draw it into layer
|
// 3 - when node is cached and we need to draw it into layer
|
||||||
var layer = this.getLayer(), canvas = can || layer.getCanvas(), context = canvas.getContext(), cachedCanvas = this._getCanvasCache(), drawFunc = this.getSceneFunc(), hasShadow = this.hasShadow(), stage, bufferCanvas, bufferContext;
|
var layer = this.getLayer(), canvas = can || layer.getCanvas(), context = canvas.getContext(), cachedCanvas = this._getCanvasCache(), drawFunc = this.getSceneFunc(), hasShadow = this.hasShadow(), stage, bufferCanvas, bufferContext;
|
||||||
var caching = canvas.isCache;
|
|
||||||
var skipBuffer = canvas.isCache;
|
var skipBuffer = canvas.isCache;
|
||||||
var cachingSelf = top === this;
|
var cachingSelf = top === this;
|
||||||
if (!this.isVisible() && !caching) {
|
if (!this.isVisible() && !cachingSelf) {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
// if node is cached we just need to draw from cache
|
// if node is cached we just need to draw from cache
|
||||||
@ -8180,7 +8179,7 @@
|
|||||||
/**
|
/**
|
||||||
* get native canvas element
|
* get native canvas element
|
||||||
* @method
|
* @method
|
||||||
* @name Konva.Layer#getCanvas
|
* @name Konva.Layer#getNativeCanvasElement
|
||||||
*/
|
*/
|
||||||
getNativeCanvasElement() {
|
getNativeCanvasElement() {
|
||||||
return this.canvas._canvas;
|
return this.canvas._canvas;
|
||||||
@ -8341,7 +8340,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
_setSmoothEnabled() {
|
_setSmoothEnabled() {
|
||||||
this.getContext()._context.imageSmoothingEnabled = this.imageSmoothingEnabled();
|
this.getContext()._context.imageSmoothingEnabled =
|
||||||
|
this.imageSmoothingEnabled();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* get/set width of layer. getter return width of stage. setter doing nothing.
|
* get/set width of layer. getter return width of stage. setter doing nothing.
|
||||||
|
4
konva.min.js
vendored
4
konva.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user