From 37988424a231f19ca28b1e718a3069eafa038d87 Mon Sep 17 00:00:00 2001 From: PP Date: Thu, 30 Aug 2018 16:00:27 +0800 Subject: [PATCH] fix richText transform (#3165) --- cocos2d/core/CCPrivateNode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2d/core/CCPrivateNode.js b/cocos2d/core/CCPrivateNode.js index aeaec4be8f..f7384570aa 100644 --- a/cocos2d/core/CCPrivateNode.js +++ b/cocos2d/core/CCPrivateNode.js @@ -111,7 +111,7 @@ let PrivateNode = cc.Class({ _posDirty (sendEvent) { this.setLocalDirty(LocalDirtyFlag.POSITION); - this._renderFlag |= RenderFlow.FLAG_LOCAL_TRANSFORM; + this._renderFlag |= RenderFlow.FLAG_TRANSFORM; if (sendEvent === true && (this._eventMask & POSITION_ON)) { this.emit(Node.EventType.POSITION_CHANGED); }