Skip to content

Commit

Permalink
cocos#3.5.3.1
Browse files Browse the repository at this point in the history
위젯 업데이트할 때 고유값도 업데이트 되도록 함
  • Loading branch information
NakOh committed Jul 21, 2022
1 parent 5a324bf commit 71cc61f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cocos/core/global-exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ if (DEV) {
legacyCC._Test = {};
}

const engineVersion = '3.5.3.0';
const engineVersion = '3.5.3.1';

/**
* The current version of Cocos2d being used.<br/>
Expand Down
1 change: 1 addition & 0 deletions cocos/ui/widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,7 @@ export class Widget extends Component {
* ```
*/
public updateAlignment () {
legacyCC._widgetManager.updateOffsetsToStayPut(this, this._alignFlags);
legacyCC._widgetManager.updateAlignment(this.node);
}

Expand Down

0 comments on commit 71cc61f

Please sign in to comment.