mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
build
This commit is contained in:
parent
12fc838709
commit
0880f89e66
7
konva.js
7
konva.js
@ -1457,8 +1457,7 @@
|
|||||||
* @param {Konva.Shape} shape
|
* @param {Konva.Shape} shape
|
||||||
*/
|
*/
|
||||||
Context.prototype.fillStrokeShape = function (shape) {
|
Context.prototype.fillStrokeShape = function (shape) {
|
||||||
var fillEnabled = shape.getFillEnabled();
|
if (shape.getFillEnabled()) {
|
||||||
if (fillEnabled) {
|
|
||||||
this._fill(shape);
|
this._fill(shape);
|
||||||
}
|
}
|
||||||
if (shape.getStrokeEnabled()) {
|
if (shape.getStrokeEnabled()) {
|
||||||
@ -2379,7 +2378,7 @@
|
|||||||
evt.dragEndNode = node;
|
evt.dragEndNode = node;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
delete DD.node;
|
DD.node = null;
|
||||||
if (layer || node instanceof getGlobalKonva().Stage) {
|
if (layer || node instanceof getGlobalKonva().Stage) {
|
||||||
(layer || node).draw();
|
(layer || node).draw();
|
||||||
}
|
}
|
||||||
@ -2530,7 +2529,7 @@
|
|||||||
*/
|
*/
|
||||||
Node.prototype._clearSelfAndDescendantCache = function (attr) {
|
Node.prototype._clearSelfAndDescendantCache = function (attr) {
|
||||||
this._clearCache(attr);
|
this._clearCache(attr);
|
||||||
// skip clearing of node is cached with canvas
|
// skip clearing if node is cached with canvas
|
||||||
if (this._cache.canvas) {
|
if (this._cache.canvas) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
2
konva.min.js
vendored
2
konva.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user