Fix a duplicated node ID (#574)

This commit is contained in:
Ashton 2024-03-04 20:02:09 -05:00 committed by GitHub
parent ba6483404b
commit 709a6a3b3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -73,7 +73,7 @@ struct CustomLoadingLayer : Modify<CustomLoadingLayer, LoadingLayer> {
m_fields->m_smallLabel2 = CCLabelBMFont::create("", "goldFont.fnt"); m_fields->m_smallLabel2 = CCLabelBMFont::create("", "goldFont.fnt");
m_fields->m_smallLabel2->setPosition(winSize.width / 2, 15.f); m_fields->m_smallLabel2->setPosition(winSize.width / 2, 15.f);
m_fields->m_smallLabel2->setScale(.45f); m_fields->m_smallLabel2->setScale(.45f);
m_fields->m_smallLabel2->setID("geode-small-label"); m_fields->m_smallLabel2->setID("geode-small-label-2");
this->addChild(m_fields->m_smallLabel2); this->addChild(m_fields->m_smallLabel2);
return true; return true;