mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
SetHitArea now calls setInteractive, fixing Group.createMultiple when a hitArea has been set.
This commit is contained in:
parent
353dba4d5e
commit
8afeafd66b
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ var SetHitArea = function (items, hitArea, hitAreaCallback)
|
|||
{
|
||||
for (var i = 0; i < items.length; i++)
|
||||
{
|
||||
items[i].setHitArea(hitArea, hitAreaCallback);
|
||||
items[i].setInteractive(hitArea, hitAreaCallback);
|
||||
}
|
||||
|
||||
return items;
|
||||
|
|
Loading…
Reference in a new issue