mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 15:00:30 +02:00
Split the display layout config between landscape and portrait orientations
This commit is contained in:
1 parent
3e2edbfe81
commit
67010ff2af
60 files changed
+480
-317
No files matched your search
@@ -61,7 +61,7 @@ void TouchControlVisibilityScreen::CreateVisibilityTab(UI::LinearLayout *vert) {
|
||||
auto di = GetI18NCategory(I18NCat::DIALOG);
|
||||
auto co = GetI18NCategory(I18NCat::CONTROLS);
|
||||
|
||||
const bool portrait = UsePortraitLayout();
|
||||
const bool portrait = GetDeviceOrientation() == DeviceOrientation::Portrait;
|
||||
|
||||
Choice *toggleAll = new Choice(di->T("Toggle All"), "", false, new AnchorLayoutParams(leftColumnWidth - 10, WRAP_CONTENT, 10, NONE, NONE, 84));
|
||||
|
||||
|
||||
Reference in new issue
Block a user