Files
cocos4/cocos
yoki0805 2ec9087a89 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
2024-10-12 15:33:07 +08:00
..
2024-09-19 10:48:03 +08:00
2023-06-13 18:08:45 +08:00