Hide orientation controls on large Android 17 devices, since they won't work.

This commit is contained in:
Henrik Rydgård committed 2026-06-15 10:37:58 +02:00
1 parent 26c208c41e
commit 6d98293be9
8 files changed
+28 -9

No files matched your search

+1 -1
View File
@@ -294,7 +294,7 @@ void DisplayLayoutScreen::CreateViews() {
rightColumn->Add(new CheckBox(&config.bIgnoreScreenInsets, gr->T("Ignore camera notch when centering")));
}
if (System_GetPropertyInt(SYSPROP_DEVICE_TYPE) == DEVICE_TYPE_MOBILE) {
if (System_GetPropertyBool(SYSPROP_CAN_RESTRICT_ORIENTATION)) {
rightColumn->Add(new Spacer(12.0f));
AddRotationPicker(screenManager(), rightColumn, true);
}