mirror of
https://github.com/konvajs/konva.git
synced 2026-03-03 16:58:33 +08:00
fix #663
This commit is contained in:
@@ -130,7 +130,7 @@
|
|||||||
delete Kinetic.shapes[this.colorKey];
|
delete Kinetic.shapes[this.colorKey];
|
||||||
},
|
},
|
||||||
_useBufferCanvas: function() {
|
_useBufferCanvas: function() {
|
||||||
return (this.hasShadow() || this.getAbsoluteOpacity() !== 1) && this.hasFill() && this.hasStroke();
|
return (this.hasShadow() || this.getAbsoluteOpacity() !== 1) && this.hasFill() && this.hasStroke() && this.getStage();
|
||||||
},
|
},
|
||||||
drawScene: function(can) {
|
drawScene: function(can) {
|
||||||
var canvas = can || this.getLayer().getCanvas(),
|
var canvas = can || this.getLayer().getCanvas(),
|
||||||
|
|||||||
Reference in New Issue
Block a user