Made the release update notification popup slightly narrower when running on vertically oriented screens.

This commit is contained in:
Leon Styhre 2023-02-18 21:38:31 +01:00
parent 20b9fb84aa
commit 399a62aba9

View file

@ -213,7 +213,7 @@ void ViewController::updateAvailableDialog(const std::string& message)
mWindow->pushGui(new GuiMsgBox(getHelpStyle(), message, "OK", nullptr, "", nullptr, "", nullptr,
true, true,
(mRenderer->getIsVerticalOrientation() ?
0.85f :
0.70f :
0.45f * (1.778f / mRenderer->getScreenAspectRatio()))));
}