Corona-Transition-Manager
Corona-Transition-Manager copied to clipboard
onComplete callback should pass the transition's target
Hi,
From the docs ( http://developer.anscamobile.com/node/2407 ):
params.onComplete is a function or table listener called after the tween completes. The listener is sent an "obj" parameter that points to the "target" used in the transition.
Easy enough to fix, just need to change line 35 of transitionManager.lua to:
callback(object)
Yeah could you somehow add this. It's very handy to be able to pass a reference of the target object to the onComplete callback