mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 02:33:43 +01:00
Correct look of the screen rotation picker on the System tab in settings
This commit is contained in:
1 parent
f257ad4f7f
commit
a342b53d6d
2 files changed
+5
-2
No files matched your search
+4
-2
@@ -245,8 +245,10 @@ void AddRotationPicker(ScreenManager *screenManager, UI::ViewGroup *parent, bool
|
||||
auto co = GetI18NCategory(I18NCat::CONTROLS);
|
||||
|
||||
PopupMultiChoice *rot = parent->Add(new PopupMultiChoice(&g_Config.iScreenRotation, text ? co->T("Screen Rotation") : "", screenRotation, 0, ARRAY_SIZE(screenRotation), I18NCat::CONTROLS, screenManager, text ? nullptr : new LinearLayoutParams(ITEM_HEIGHT, ITEM_HEIGHT)));
|
||||
rot->SetHideTitle(true);
|
||||
rot->SetIconOnly(true);
|
||||
if (!text) {
|
||||
rot->SetHideTitle(true);
|
||||
rot->SetIconOnly(true);
|
||||
}
|
||||
rot->SetChoiceIcons(screenRotationIcons);
|
||||
|
||||
// Portrait Reversed is not recommended on iPhone (and we also ban it in the plist).
|
||||
|
||||
Reference in new issue
Block a user