fix typo of shouldDrawHit

This commit is contained in:
Лаврёнов Антон
2014-05-09 17:08:14 +08:00
parent 998402a775
commit f99975441e
2 changed files with 2 additions and 2 deletions

View File

@@ -643,7 +643,7 @@
*/
shouldDrawHit: function(canvas) {
var layer = this.getLayer();
return ((canvas && canvas.isCache) || (layer && layer.hitGraphEnabled()))
return (canvas && canvas.isCache) || (layer && layer.hitGraphEnabled())
&& this.isListening() && this.isVisible() && !Kinetic.isDragging();
},
/**