mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
optimize layout
This commit is contained in:
@@ -188,7 +188,7 @@ void CLobbyScreen::toggleMode(bool host)
|
||||
return;
|
||||
|
||||
auto buttonColor = host ? Colors::WHITE : Colors::ORANGE;
|
||||
buttonSelect->setTextOverlay(CGI->generaltexth->allTexts[500], FONT_SMALL, buttonColor);
|
||||
buttonSelect->setTextOverlay(" " + CGI->generaltexth->allTexts[500], FONT_SMALL, buttonColor);
|
||||
buttonOptions->setTextOverlay(CGI->generaltexth->allTexts[501], FONT_SMALL, buttonColor);
|
||||
|
||||
if (buttonTurnOptions)
|
||||
@@ -199,7 +199,7 @@ void CLobbyScreen::toggleMode(bool host)
|
||||
|
||||
if(buttonRMG)
|
||||
{
|
||||
buttonRMG->setTextOverlay(CGI->generaltexth->allTexts[740], FONT_SMALL, buttonColor);
|
||||
buttonRMG->setTextOverlay(" " + CGI->generaltexth->allTexts[740], FONT_SMALL, buttonColor);
|
||||
buttonRMG->block(!host);
|
||||
}
|
||||
buttonSelect->block(!host);
|
||||
|
||||
Reference in New Issue
Block a user