From 62d1c05ca2172434bccda375c97ea92dc05803a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sat, 31 Jan 2026 20:16:36 +0100 Subject: [PATCH] Fix minor issue on display layout screen --- UI/DisplayLayoutScreen.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UI/DisplayLayoutScreen.cpp b/UI/DisplayLayoutScreen.cpp index 0d0f8d0a38..07b3dd71f1 100644 --- a/UI/DisplayLayoutScreen.cpp +++ b/UI/DisplayLayoutScreen.cpp @@ -304,7 +304,9 @@ void DisplayLayoutScreen::CreateViews() { rightColumn->Add(new ItemHeader(gr->T("Display rotation"))); rightColumn->Add(rotation); - rightColumn->Add(new CheckBox(&config.bRotateControlsWithScreen, gr->T("Rotate controls"))); + rightColumn->Add(new CheckBox(&config.bRotateControlsWithScreen, gr->T("Rotate controls")))->SetEnabledFunc([&config]() -> bool { + return (!g_Config.bSkipBufferEffects || g_Config.bSoftwareRendering) && config.iInternalScreenRotation != 1; + }); rightColumn->Add(new Spacer(12.0f));