File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,33 @@ using namespace geode::node_ids;
1212 this ->getChildByType <CCSprite>(0 )->setID (" background" );
1313 this ->getChildByType <CCSprite>(1 )->setID (" title-sprite" );
1414
15+ size_t idx = 0 ;
1516 setIDs (
1617 this ,
17- 0 ,
18+ idx ,
1819 " background" ,
1920 " title" ,
2021 " bottom-left-corner" ,
2122 " bottom-right-corner" ,
2223 " top-left-corner" ,
2324 " top-right-corner" ,
2425 " scroll-buttons-menu" ,
25- " back-menu" ,
26+ " back-menu"
27+ );
28+ idx += 8 ;
29+
30+ if (PlatformToolbox::isControllerConnected ()) {
31+ // ID assigned in GameToolbox::addBackButton
32+ idx += 1 ;
33+ }
34+
35+ setIDs (
36+ this ,
37+ idx,
2638 " loading-circle" ,
2739 " try-again-text"
2840 );
41+ idx += 2 ;
2942
3043 if (auto arrowsMenu = this ->getChildByID (" scroll-buttons-menu" )) {
3144 setIDs (
You can’t perform that action at this time.
0 commit comments