mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 11:03:45 +01:00
Fix language button oversize in Android
This commit is contained in:
1 parent
c8ca416b60
commit
f78426cbc1
1 file changed
+1
-1
+1
-1
@@ -697,7 +697,7 @@ void SystemScreen::render() {
|
||||
if (!code.empty())
|
||||
buttonTitle = code;
|
||||
|
||||
if (UIButton(GEN_ID_LOOP(i), vlang, LARGE_BUTTON_WIDTH, 0, buttonTitle.c_str(), ALIGN_TOPLEFT)) {
|
||||
if (UIButton(GEN_ID_LOOP(i), vlang, LARGE_BUTTON_WIDTH - 40, 0, buttonTitle.c_str(), ALIGN_TOPLEFT)) {
|
||||
std::string oldLang = g_Config.languageIni;
|
||||
g_Config.languageIni = code;
|
||||
if (i18nrepo.LoadIni(g_Config.languageIni)) {
|
||||
|
||||
Reference in new issue
Block a user