mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-05 11:02:40 +08:00
2ec9087a89
* 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