mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
Merge pull request #2300 from fusijie/fixed_node_opacity
fixed node opacity
This commit is contained in:
@@ -704,6 +704,7 @@ var Node = cc.Class({
|
||||
set (value) {
|
||||
if (this._opacity !== value) {
|
||||
this._opacity = value;
|
||||
this._color.a = value;
|
||||
}
|
||||
},
|
||||
range: [0, 255]
|
||||
|
||||
Reference in New Issue
Block a user