Corona-Transition-Manager icon indicating copy to clipboard operation
Corona-Transition-Manager copied to clipboard

onComplete callback should pass the transition's target

Open Chartini opened this issue 13 years ago • 1 comments

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)

Chartini avatar Nov 09 '11 19:11 Chartini

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

matthewswallace avatar Jan 09 '12 22:01 matthewswallace