mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
Fixed a small vertical positioning issue for the main menu.
This commit is contained in:
parent
071c4d22ce
commit
b17b7194a6
|
@ -42,7 +42,7 @@
|
||||||
GuiMenu::GuiMenu()
|
GuiMenu::GuiMenu()
|
||||||
: mMenu {"MAIN MENU"}
|
: mMenu {"MAIN MENU"}
|
||||||
{
|
{
|
||||||
bool isFullUI = UIModeController::getInstance()->isUIModeFull();
|
bool isFullUI {UIModeController::getInstance()->isUIModeFull()};
|
||||||
|
|
||||||
if (isFullUI)
|
if (isFullUI)
|
||||||
addEntry("SCRAPER", 0x777777FF, true, [this] { openScraperOptions(); });
|
addEntry("SCRAPER", 0x777777FF, true, [this] { openScraperOptions(); });
|
||||||
|
@ -73,7 +73,8 @@ GuiMenu::GuiMenu()
|
||||||
addChild(&mMenu);
|
addChild(&mMenu);
|
||||||
addVersionInfo();
|
addVersionInfo();
|
||||||
setSize(mMenu.getSize());
|
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()
|
GuiMenu::~GuiMenu()
|
||||||
|
|
Loading…
Reference in a new issue