Added UI scale slider

This commit is contained in:
Anuken
2019-07-17 17:20:21 -04:00
parent 7b09548261
commit 029f801159
4 changed files with 54 additions and 17 deletions

View File

@@ -184,6 +184,10 @@ public class SettingsMenuDialog extends SettingsDialog{
}
});
graphics.sliderPref("uiscale", 100, 25, 400, 25, s -> {
Core.settings.put("uiscalechanged", true);
return s + "%";
});
graphics.sliderPref("fpscap", 241, 5, 241, 5, s -> (s > 240 ? Core.bundle.get("setting.fpscap.none") : Core.bundle.format("setting.fpscap.text", s)));
graphics.sliderPref("chatopacity", 100, 0, 100, 5, s -> s + "%");