mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Push text input dialogs down a bit in portrait mode
This commit is contained in:
1 parent
3ddea55b9a
commit
ecd091b8c4
1 file changed
+6
-1
@@ -134,7 +134,12 @@ void PopupScreen::CreateViews() {
|
||||
int y = dc.GetBounds().centerY() + offsetY_;
|
||||
Centering vCentering = Centering::Vertical;
|
||||
if (alignTop_) {
|
||||
y = 0;
|
||||
if (GetDeviceOrientation() == DeviceOrientation::Landscape) {
|
||||
y = 0;
|
||||
} else {
|
||||
// In portrait, we need some space.
|
||||
y = 200;
|
||||
}
|
||||
vCentering = Centering::None;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user