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);
|
this->addChild(_scale9Image);
|
||||||
|
|
||||||
if (_spritesGenerated)
|
if (_spritesGenerated)
|
||||||
{
|
{
|
||||||
// Restore color and opacity
|
// Restore color and opacity
|
||||||
this->setOpacity(opacity);
|
this->setOpacity(opacity);
|
||||||
this->setColor(color);
|
this->setColor(color);
|
||||||
}
|
}
|
||||||
_spritesGenerated = true;
|
_spritesGenerated = true;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue