Merge branch 'fix-listening' of git://github.com/kzhdev/KineticJS into kzhdev-fix-listening

This commit is contained in:
Лаврёнов Антон
2014-05-06 15:52:00 +08:00

View File

@@ -10,7 +10,10 @@
if (type !== 'Group' && type !== 'Shape') { if (type !== 'Group' && type !== 'Shape') {
Kinetic.Util.error('You may only add groups and shapes to groups.'); Kinetic.Util.error('You may only add groups and shapes to groups.');
} }
} },
shouldDrawHit: function() {
return true;
},
}); });
Kinetic.Util.extend(Kinetic.Group, Kinetic.Container); Kinetic.Util.extend(Kinetic.Group, Kinetic.Container);