SetHitArea now calls setInteractive, fixing Group.createMultiple when a hitArea has been set.

This commit is contained in:
Richard Davey 2018-02-13 08:09:13 +00:00
parent 353dba4d5e
commit 8afeafd66b

View file

@ -20,7 +20,7 @@ var SetHitArea = function (items, hitArea, hitAreaCallback)
{ {
for (var i = 0; i < items.length; i++) for (var i = 0; i < items.length; i++)
{ {
items[i].setHitArea(hitArea, hitAreaCallback); items[i].setInteractive(hitArea, hitAreaCallback);
} }
return items; return items;