This commit is contained in:
Лаврёнов Антон 2014-03-07 18:20:03 +08:00
parent 9e51e22711
commit 6db2694637

View File

@ -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(),