Fixed an additional issue in the ROM selection dialog.

This commit is contained in:
Leon Styhre 2021-12-27 19:26:42 +01:00
parent 7f314d0108
commit c63e5e4529

View file

@ -122,7 +122,7 @@ void GuiMsgBox::changeText(const std::string& newText)
width = std::max(mButtonGrid->getSize().x, mMsg->getSize().x);
width = std::max(width, minWidth);
}
else {
else if (mButtonGrid->getSize().x > width) {
width = mButtonGrid->getSize().x;
}