Skip to content

Commit

Permalink
fix ESLint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yoki0805 committed Oct 11, 2024
1 parent 7b45f36 commit efada88
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cocos/2d/components/ui-opacity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,7 @@ export class UIOpacity extends Component {
if (parent) {
this._parentOpacity = this._getParentOpacity(parent);
opacity = this._parentOpacity;
}
else {
} else {
this._parentOpacityResetFlag = true;
}
UIOpacity.setEntityLocalOpacityDirtyRecursively(this.node, true, opacity, false);
Expand Down

0 comments on commit efada88

Please sign in to comment.