From e091aeceadd7de153136ceb98768fe34a0ed53cb Mon Sep 17 00:00:00 2001 From: samme Date: Mon, 1 Jun 2020 09:38:34 -0700 Subject: [PATCH] Docs: Phaser.Tweens.Tween#callbacks Tween#stop() does not invoke onComplete --- src/tweens/tween/Tween.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tweens/tween/Tween.js b/src/tweens/tween/Tween.js index 3e991516e..bb523587e 100644 --- a/src/tweens/tween/Tween.js +++ b/src/tweens/tween/Tween.js @@ -317,7 +317,7 @@ var Tween = new Class({ * `onStart` When the Tween starts playing after a delayed state. Will happen at the same time as `onActive` if it has no delay. * `onYoyo` When a TweenData starts a yoyo. This happens _after_ the `hold` delay expires, if set. * `onRepeat` When a TweenData repeats playback. This happens _after_ the `repeatDelay` expires, if set. - * `onComplete` When the Tween finishes playback fully or `Tween.stop` is called. Never invoked if tween is set to repeat infinitely. + * `onComplete` When the Tween finishes playback fully. Never invoked if tween is set to repeat infinitely. * `onUpdate` When a TweenData updates a property on a source target during playback. * `onLoop` When a Tween loops. This happens _after_ the `loopDelay` expires, if set. *