mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Rework the pause screen in portrait mode. Right-align popup menus if too far to the right on the screen.
This commit is contained in:
1 parent
f2356c5532
commit
77c7ba1435
9 files changed
+164
-119
No files matched your search
@@ -211,7 +211,7 @@ void DisplayLayoutScreen::CreateViews() {
|
||||
root_->SetExclusiveTouch(true);
|
||||
|
||||
// Add indicator of the current mode we're editing. Not sure why these strings are in Controls.
|
||||
root_->Add(new TextView(portrait ? co->T("Portrait") : co->T("Landscape"), new AnchorLayoutParams(portrait ? 10.0f : NONE, 10.0f, NONE, NONE)));
|
||||
root_->Add(new TextView(portrait ? co->T("Portrait") : co->T("Landscape"), new AnchorLayoutParams(portrait ? 10.0f : NONE, 10.0f, NONE, NONE)))->SetSmall(true);
|
||||
|
||||
DisplayLayoutConfig &config = g_Config.GetDisplayLayoutConfig(GetDeviceOrientation());
|
||||
bool internalPortrait = config.iInternalScreenRotation == ROTATION_LOCKED_VERTICAL || config.iInternalScreenRotation == ROTATION_LOCKED_VERTICAL180;
|
||||
|
||||
Reference in new issue
Block a user