Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the UIOpacity issue when the node is re-added to the scene. (#17700)
* fix ui-opacity fix the render.node._uiProps.localOpacity only update on native. * Add JSB Check in _parentChanged function The setEntityLocalOpacityDirtyRecursively function should not work on web platform. * fix the opacity issue on native Whenever the node is re-added to the scene, the _parentOpacity value needs to be updated again in the onEnable callback. * Remove the JSB checking in setEntityLocalOpacityDirtyRecursively function * Update onEnable function
- Loading branch information