From 9612a1370c0a9ec84781e124581e8c96b97dc1ad Mon Sep 17 00:00:00 2001 From: Coco Date: Tue, 26 Feb 2019 15:17:40 +0800 Subject: [PATCH] fixed the tween bugs --- cocos2d/actions/tween.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos2d/actions/tween.js b/cocos2d/actions/tween.js index 92b021af555..d9761cfd93b 100644 --- a/cocos2d/actions/tween.js +++ b/cocos2d/actions/tween.js @@ -1,6 +1,6 @@ let TweenAction = cc.Class({ - name: 'TweenAction', + name: 'cc.TweenAction', extends: cc.ActionInterval, ctor (duration, props, opts) { @@ -224,7 +224,7 @@ Tween.prototype._get = function () { actions = actions[0]; } else { - actions = Tween.sequence(actions); + actions = cc.sequence(actions); } return actions;