Cocos Creator version
3.8.1
System information
Windows 11
Issue description
The Line component has a color property.
If you change the color the color is not updated in the view (only in the inspector)

Relevant error log output
No response
Steps to reproduce
Create a Node with a Line
Change the line.color in code.
The workaround is to
Deactive and reactive the node.
this.line.node.active = false;
this.line.node.active = true;
Minimal reproduction project
No response
Cocos Creator version
3.8.1
System information
Windows 11
Issue description
The Line component has a color property.
If you change the color the color is not updated in the view (only in the inspector)
Relevant error log output
No response
Steps to reproduce
Create a Node with a Line
Change the line.color in code.
The workaround is to
Deactive and reactive the node.
Minimal reproduction project
No response