From 0e94d4f3b8d5c58ab603f78e8e9093fe0a2c35eb Mon Sep 17 00:00:00 2001 From: boyu0 Date: Fri, 6 Dec 2013 18:23:31 +0800 Subject: [PATCH] closed #3162: fix indent. --- cocos/2d/CCNode.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cocos/2d/CCNode.cpp b/cocos/2d/CCNode.cpp index d56fda9cb8..301744cc32 100644 --- a/cocos/2d/CCNode.cpp +++ b/cocos/2d/CCNode.cpp @@ -1490,8 +1490,7 @@ void Node::disableCascadeOpacity() { _displayedOpacity = _realOpacity; - _children.forEach([this](Node* child) - { + _children.forEach([this](Node* child){ child->disableCascadeOpacity(); }); } @@ -1564,8 +1563,7 @@ void Node::updateCascadeColor() void Node::disableCascadeColor() { - _children.forEach([this](Node* child) - { + _children.forEach([this](Node* child){ child->disableCascadeColor(); }); }