mirror of https://github.com/axmolengine/axmol.git
closed #2396: indentation fix.
This commit is contained in:
parent
285c2440b7
commit
093d9a507c
|
@ -384,11 +384,11 @@ bool Scale9Sprite::updateWithBatchNode(SpriteBatchNode* batchnode, Rect rect, bo
|
|||
this->addChild(_scale9Image);
|
||||
|
||||
if (_spritesGenerated)
|
||||
{
|
||||
// Restore color and opacity
|
||||
this->setOpacity(opacity);
|
||||
this->setColor(color);
|
||||
}
|
||||
{
|
||||
// Restore color and opacity
|
||||
this->setOpacity(opacity);
|
||||
this->setColor(color);
|
||||
}
|
||||
_spritesGenerated = true;
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue