Skip to content

Commit

Permalink
Align content center
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanJakobo committed Jun 16, 2023
1 parent 598fbc3 commit 42d9225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handler/mainMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ MainMenu::MainMenu(const std::string &p_name) : m_name{p_name}

auto contentRectHeight{ScreenHeight() - menuPanelHeight};
auto textEnd{ScreenWidth() - (TEXT_MARGIN * 2)};
m_contentRect = iRect(TEXT_BEGIN, menuPanelHeight, textEnd, contentRectHeight, ALIGN_FIT);
m_contentRect = iRect(TEXT_BEGIN, menuPanelHeight, textEnd, contentRectHeight, ALIGN_CENTER);

SetPanelType(PANEL_OFF);
}
Expand Down

0 comments on commit 42d9225

Please sign in to comment.