mirror of https://github.com/axmolengine/axmol.git
closed #3162: fix indent.
This commit is contained in:
parent
4d0e3dbd8d
commit
0e94d4f3b8
|
@ -1490,8 +1490,7 @@ void Node::disableCascadeOpacity()
|
||||||
{
|
{
|
||||||
_displayedOpacity = _realOpacity;
|
_displayedOpacity = _realOpacity;
|
||||||
|
|
||||||
_children.forEach([this](Node* child)
|
_children.forEach([this](Node* child){
|
||||||
{
|
|
||||||
child->disableCascadeOpacity();
|
child->disableCascadeOpacity();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -1564,8 +1563,7 @@ void Node::updateCascadeColor()
|
||||||
|
|
||||||
void Node::disableCascadeColor()
|
void Node::disableCascadeColor()
|
||||||
{
|
{
|
||||||
_children.forEach([this](Node* child)
|
_children.forEach([this](Node* child){
|
||||||
{
|
|
||||||
child->disableCascadeColor();
|
child->disableCascadeColor();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue