mirror of https://github.com/axmolengine/axmol.git
fixed #60
adjust the ZOrder of the menu item which back to main menu scene when clicked.
This commit is contained in:
parent
bfadb1371a
commit
380123dd1d
|
@ -31,5 +31,5 @@ TestScene::TestScene()
|
||||||
CCLayer* pLayer = new BackToMainMenuLayer();
|
CCLayer* pLayer = new BackToMainMenuLayer();
|
||||||
pLayer->autorelease();
|
pLayer->autorelease();
|
||||||
|
|
||||||
addChild(pLayer);
|
addChild(pLayer, 1000);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue