Skip to content

Commit

Permalink
the draw method doesn't need a top node argument
Browse files Browse the repository at this point in the history
  • Loading branch information
ericdrowell committed Mar 22, 2014
1 parent 59a571c commit 06c14f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Node.js
Expand Up @@ -200,7 +200,7 @@
sceneContext.stroke();
sceneContext.restore();
}

this.drawScene(cachedSceneCanvas, this);
this.drawHit(cachedHitCanvas, this);

Expand Down Expand Up @@ -1534,9 +1534,9 @@
* @memberof Kinetic.Node.prototype
* @returns {Kinetic.Node}
*/
draw: function(top) {
this.drawScene(top);
this.drawHit(top);
draw: function() {
this.drawScene();
this.drawHit();
return this;
}
});
Expand Down

0 comments on commit 06c14f2

Please sign in to comment.