settings: graphics: fix indentation for eControl_GraphicsMode switch

This commit is contained in:
Anaël 2026-03-19 19:21:43 +00:00 committed by GitHub
parent c908f469bf
commit e483a4a7ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -217,20 +217,20 @@ void UIScene_SettingsGraphicsMenu::handleSliderMove(F64 sliderId, F64 currentVal
}
break;
case eControl_GraphicsMode:
{
m_sliderGraphicsMode.handleSliderMove(value);
{
m_sliderGraphicsMode.handleSliderMove(value);
app.SetGameSettings(m_iPad, eGameSetting_GraphicsMode, value);
app.SetGameSettings(m_iPad, eGameSetting_GraphicsMode, value);
const wchar_t* modeName = L"Potato";
if (value == 1) modeName = L"Fast";
else if (value == 2) modeName = L"Fancy";
const wchar_t* modeName = L"Potato";
if (value == 1) modeName = L"Fast";
else if (value == 2) modeName = L"Fancy";
swprintf(TempString, 256, L"Graphics: %ls", modeName);
swprintf(TempString, 256, L"Graphics: %ls", modeName);
m_sliderGraphicsMode.setLabel(TempString);
}
break;
m_sliderGraphicsMode.setLabel(TempString);
}
break;
case eControl_Gamma:
m_sliderGamma.handleSliderMove(value);