Rename "vertical layout" to "portrait layout", to avoid confusion

This commit is contained in:
Henrik Rydgård committed 2025-10-23 16:11:54 +02:00
1 parent 0397fe5e91
commit acf273a55a
12 files changed
+30 -28

No files matched your search

+3 -3
View File
@@ -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();