removed setDrawFuncs dependency from leaf node classes. It's handled in Shape now

This commit is contained in:
Eric Rowell
2013-07-22 21:49:30 -07:00
parent 9324c366ea
commit 37a15817b5
17 changed files with 2 additions and 16 deletions

View File

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