mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 19:23:47 +01:00
Rename "vertical layout" to "portrait layout", to avoid confusion
This commit is contained in:
1 parent
0397fe5e91
commit
acf273a55a
12 files changed
+30
-28
No files matched your search
@@ -561,10 +561,10 @@ void OSDOverlayScreen::DrawForeground(UIContext &ui) {
|
||||
|
||||
void OSDOverlayScreen::update() {
|
||||
// Partial version of UIScreen::update() but doesn't do event processing to avoid duplicate event processing.
|
||||
bool vertical = UseVerticalLayout();
|
||||
if (vertical != lastVertical_) {
|
||||
bool portrait = UsePortraitLayout();
|
||||
if (portrait != lastPortrait_) {
|
||||
RecreateViews();
|
||||
lastVertical_ = vertical;
|
||||
lastPortrait_ = portrait;
|
||||
}
|
||||
|
||||
DoRecreateViews();
|
||||
|
||||
Reference in new issue
Block a user