Skip to content

Commit

Permalink
add main-layer ID to CvoltonAlertLayerStub
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Aug 4, 2024
1 parent 0e7a573 commit 9d6ba26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/layers/_bases/CvoltonAlertLayerStub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ bool CvoltonAlertLayerStub::init(CCPoint contentSize, float closeBtnScale, uint8
bg->setPosition({ winSize.width / 2, winSize.height / 2 });
bg->setID("background"_spr);
m_mainLayer->addChild(bg, -1);
m_mainLayer->setID("main-layer"_spr);

m_buttonMenu = CCMenu::create();
m_buttonMenu->setID("button-menu"_spr);
Expand Down

0 comments on commit 9d6ba26

Please sign in to comment.