mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-19 04:14:35 +01:00
Misc portrait layout fixes, minor build.gradle.kts change
This commit is contained in:
1 parent
0990890640
commit
094d28d451
5 files changed
+9
-6
No files matched your search
@@ -46,7 +46,7 @@ void UISimpleBaseDialogScreen::CreateViews() {
|
||||
ViewLayoutMode UITwoPaneBaseDialogScreen::LayoutMode() const {
|
||||
const bool portrait = GetDeviceOrientation() == DeviceOrientation::Portrait;
|
||||
if (portrait) {
|
||||
if (((flags_ & TwoPaneFlags::SettingsCanScroll) && !(flags_ & TwoPaneFlags::SettingsToTheRight)) || (flags_ & TwoPaneFlags::ContentsCanScroll)) {
|
||||
if ((flags_ & TwoPaneFlags::SettingsCanScroll) && !(flags_ & TwoPaneFlags::SettingsToTheRight)) {
|
||||
return ViewLayoutMode::IgnoreBottomInset;
|
||||
} else {
|
||||
return ViewLayoutMode::ApplyInsets;
|
||||
|
||||
Reference in new issue
Block a user