mirror of
https://github.com/konvajs/konva.git
synced 2025-09-22 20:14:01 +08:00
improved functional test layout, and started work on drawBufferFunc support
This commit is contained in:
@@ -19,7 +19,11 @@ Kinetic.Sprite.prototype = {
|
||||
});
|
||||
this.shapeType = "Sprite";
|
||||
config.drawFunc = this.drawFunc;
|
||||
config.drawBufferFunc = this.drawBufferFunc;
|
||||
|
||||
if(!config.drawBufferFunc) {
|
||||
config.drawBufferFunc = this.drawBufferFunc;
|
||||
}
|
||||
|
||||
// call super constructor
|
||||
Kinetic.Shape.call(this, config);
|
||||
this.anim = new Kinetic.Animation();
|
||||
|
Reference in New Issue
Block a user