mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +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
+1
-1
@@ -403,7 +403,7 @@ UI::Margins GamePauseScreen::RootMargins() const {
|
||||
void GamePauseScreen::CreateViews() {
|
||||
using namespace UI;
|
||||
|
||||
bool portrait = UsePortraitLayout();
|
||||
bool portrait = GetDeviceOrientation() == DeviceOrientation::Portrait;
|
||||
|
||||
Margins scrollMargins(0, 10, 0, 0);
|
||||
Margins actionMenuMargins(0, 10, 15, 0);
|
||||
|
||||
Reference in new issue
Block a user