fix richText transform (#3165)

This commit is contained in:
PP
2018-08-30 16:00:27 +08:00
committed by pandamicro
parent 260c991222
commit 37988424a2
+1 -1
View File
@@ -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);
}