mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-03 17:42:41 +08:00
fix richText transform (#3165)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user