Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

remove child as touchable from his toolkit not default toolkit from container #88

Merged
merged 1 commit into from

2 participants

@cayse

_manager is default firstToolkit
but child can be from other toolkit
and we must remove from touchables from his toolkit

Also right maked in in source class UIAbstractContainer, metod removeChild.

@cayse cayse _manager is default firstToolkit
but child can be from other toolkit
and we must remove from touchables from his toolkit 

Also right maked in in source class UIAbstractContainer, metod removeChild.
fc761f2
@prime31 prime31 merged commit f1f09f7 into oddgames:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 12, 2012
  1. @cayse

    _manager is default firstToolkit

    cayse authored
    but child can be from other toolkit
    and we must remove from touchables from his toolkit 
    
    Also right maked in in source class UIAbstractContainer, metod removeChild.
This page is out of date. Refresh to see the latest.
View
2  Assets/Plugins/UIToolkit/BaseElements/UIAbstractTouchableContainer.cs
@@ -495,7 +495,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 );
}
}
Something went wrong with that request. Please try again.