Made some small adjustments to a few warning dialogs in GuiThemeDownloader

This commit is contained in:
Leon Styhre 2023-04-02 21:34:41 +02:00
parent 2a4c11d9f0
commit 8f7ac0ca53

View file

@ -691,7 +691,7 @@ void GuiThemeDownloader::populateGUI()
"ABORT", [] { return; }, "", nullptr, true, true, "ABORT", [] { return; }, "", nullptr, true, true,
(mRenderer->getIsVerticalOrientation() ? (mRenderer->getIsVerticalOrientation() ?
0.75f : 0.75f :
0.45f * (1.778f / mRenderer->getScreenAspectRatio())))); 0.46f * (1.778f / mRenderer->getScreenAspectRatio()))));
} }
else if (theme.corruptRepository) { else if (theme.corruptRepository) {
mWindow->pushGui(new GuiMsgBox( mWindow->pushGui(new GuiMsgBox(
@ -719,7 +719,7 @@ void GuiThemeDownloader::populateGUI()
"ABORT", [] { return; }, "", nullptr, true, true, "ABORT", [] { return; }, "", nullptr, true, true,
(mRenderer->getIsVerticalOrientation() ? (mRenderer->getIsVerticalOrientation() ?
0.75f : 0.75f :
0.45f * (1.778f / mRenderer->getScreenAspectRatio())))); 0.46f * (1.778f / mRenderer->getScreenAspectRatio()))));
} }
else if (theme.shallowRepository) { else if (theme.shallowRepository) {
mWindow->pushGui(new GuiMsgBox( mWindow->pushGui(new GuiMsgBox(
@ -746,7 +746,7 @@ void GuiThemeDownloader::populateGUI()
"ABORT", [] { return; }, "", nullptr, true, true, "ABORT", [] { return; }, "", nullptr, true, true,
(mRenderer->getIsVerticalOrientation() ? (mRenderer->getIsVerticalOrientation() ?
0.75f : 0.75f :
0.45f * (1.778f / mRenderer->getScreenAspectRatio())))); 0.46f * (1.778f / mRenderer->getScreenAspectRatio()))));
} }
else if (theme.hasLocalChanges) { else if (theme.hasLocalChanges) {
mWindow->pushGui(new GuiMsgBox( mWindow->pushGui(new GuiMsgBox(