Permalink
Browse files

Merge pull request #88 from cayse/patch-2

remove child as touchable from his toolkit not default toolkit from container
  • Loading branch information...
prime31 committed May 17, 2012
2 parents 5fb327e + fc761f2 commit f1f09f74257155ee8b28c4c2b73cfa28fdfd0a3f
Showing with 1 addition and 1 deletion.
  1. +1 −1 Assets/Plugins/UIToolkit/BaseElements/UIAbstractTouchableContainer.cs
@@ -488,7 +488,7 @@ public override void addChild( params UISprite[] children )
foreach( var child in children )
{
if( child is ITouchable )
- _manager.removeFromTouchables( child as ITouchable );
+ child.manager.removeFromTouchables( child as ITouchable );
}
}

0 comments on commit f1f09f7

Please sign in to comment.