mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 09:35:09 +02:00
Fix strange issue when changing the UI DPI scale in system settings
This commit is contained in:
@@ -1121,7 +1121,7 @@ void GameSettingsScreen::CreateSystemSettings(UI::ViewGroup *systemSettings) {
|
||||
uiScale->SetZeroLabel(sy->T("Off"));
|
||||
uiScale->OnChange.Add([](UI::EventParams &e) {
|
||||
const float dpiMul = UIScaleFactorToMultiplier(g_Config.iUIScaleFactor);
|
||||
g_display.Recalculate(-1, -1, -1, dpiMul, dpiMul);
|
||||
g_display.Recalculate(-1, -1, -1, -1, dpiMul);
|
||||
NativeResized();
|
||||
return UI::EVENT_DONE;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user