diff --git a/es-app/src/guis/GuiMenu.cpp b/es-app/src/guis/GuiMenu.cpp index d60453fca..07af31d7d 100644 --- a/es-app/src/guis/GuiMenu.cpp +++ b/es-app/src/guis/GuiMenu.cpp @@ -42,7 +42,7 @@ GuiMenu::GuiMenu() : mMenu {"MAIN MENU"} { - bool isFullUI = UIModeController::getInstance()->isUIModeFull(); + bool isFullUI {UIModeController::getInstance()->isUIModeFull()}; if (isFullUI) addEntry("SCRAPER", 0x777777FF, true, [this] { openScraperOptions(); }); @@ -73,7 +73,8 @@ GuiMenu::GuiMenu() addChild(&mMenu); addVersionInfo(); setSize(mMenu.getSize()); - setPosition((Renderer::getScreenWidth() - mSize.x) / 2.0f, Renderer::getScreenHeight() * 0.13f); + setPosition((Renderer::getScreenWidth() - mSize.x) / 2.0f, + std::round(Renderer::getScreenHeight() * 0.13f)); } GuiMenu::~GuiMenu()