This repository was archived by the owner on Jan 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -195,10 +195,9 @@ int MainMenuGUI::Create(Controller *pController)
195
195
m_apScreenBox[QUITSCREEN] = dynamic_cast <GUICollectionBox *>(m_pGUIController->GetControl (" QuitConfirmBox" ));
196
196
m_apScreenBox[MODMANAGERSCREEN] = dynamic_cast <GUICollectionBox *>(m_pGUIController->GetControl (" ModManagerScreen" ));
197
197
198
- GUICollectionBox *pRootBox = m_apScreenBox[ROOT];
199
- pRootBox->SetPositionAbs ((g_FrameMan.GetResX () - pRootBox->GetWidth ()) / 2 , 0 );// (g_FrameMan.GetResY() - pRootBox->GetHeight()) / 2);
198
+ m_apScreenBox[ROOT]->SetPositionAbs ((g_FrameMan.GetResX () - m_apScreenBox[ROOT]->GetWidth ()) / 2 , 0 );// (g_FrameMan.GetResY() - m_apScreenBox[ROOT]->GetHeight()) / 2);
200
199
// NO, this screws up the menu positioning!
201
- // pRootBox ->Resize(pRootBox ->GetWidth(), g_FrameMan.GetResY());
200
+ // m_apScreenBox[ROOT] ->Resize(m_apScreenBox[ROOT] ->GetWidth(), g_FrameMan.GetResY());
202
201
203
202
// Set up screens' initial positions and visibility
204
203
m_apScreenBox[QUITSCREEN]->CenterInParent (true , true );
You can’t perform that action at this time.
0 commit comments