Add setting for UI scale (#2326)

This commit is contained in:
doop
2026-08-22 01:29:43 -04:00
committed by GitHub
parent 44e02a9d53
commit 14f9b6c762
6 changed files with 26 additions and 0 deletions
+6
View File
@@ -770,6 +770,12 @@ SettingsWindow::SettingsWindow(bool prelaunch) : mPrelaunch(prelaunch) {
},
.isDisabled = [] { return IsMobile; },
});
config_int_select(leftPane, rightPane, getSettings().video.uiScale,
"UI Scale",
"Scales the Dusklight interface relative to the display's DPI scale. Has no effect on the game's UI and HUD.",
50, 200, 25, {}, {}, "%");
leftPane.add_section("Resolution");
graphics_tuner_control(*this, leftPane, rightPane,
getSettings().game.internalResolutionScale,