mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-22 21:55:34 -04:00
Add setting for UI scale (#2326)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user