mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 18:19:36 +01:00
Split the display layout config between landscape and portrait orientations
This commit is contained in:
1 parent
174d45279c
commit
4994246c8b
61 files changed
+482
-317
No files matched your search
+1
-1
@@ -15,7 +15,7 @@ void IAPScreen::CreateViews() {
|
||||
auto di = GetI18NCategory(I18NCat::DIALOG);
|
||||
auto mm = GetI18NCategory(I18NCat::MAINMENU);
|
||||
|
||||
const bool vertical = UsePortraitLayout();
|
||||
const bool vertical = GetDeviceOrientation() == DeviceOrientation::Portrait;
|
||||
|
||||
root_ = new LinearLayout(vertical ? ORIENT_VERTICAL : ORIENT_HORIZONTAL, new LayoutParams(FILL_PARENT, FILL_PARENT));
|
||||
|
||||
|
||||
Reference in new issue
Block a user