mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
fix #663
This commit is contained in:
parent
9e51e22711
commit
6db2694637
@ -130,7 +130,7 @@
|
||||
delete Kinetic.shapes[this.colorKey];
|
||||
},
|
||||
_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) {
|
||||
var canvas = can || this.getLayer().getCanvas(),
|
||||
|
Loading…
Reference in New Issue
Block a user