mirror of
https://github.com/konvajs/konva.git
synced 2026-03-03 16:58:33 +08:00
removed setDrawFuncs dependency from leaf node classes. It's handled in Shape now
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
// call super constructor
|
||||
Kinetic.Shape.call(this, config);
|
||||
this.className = ELLIPSE;
|
||||
this._setDrawFuncs();
|
||||
},
|
||||
drawFunc: function(canvas) {
|
||||
var context = canvas.getContext(), r = this.getRadius();
|
||||
|
||||
Reference in New Issue
Block a user