More specific ui scaling options (#8356)

Increments of 5 instead of 25
This commit is contained in:
MEEPofFaith 2023-03-25 11:24:09 -07:00 committed by GitHub
parent 0122b735a0
commit 47a2afd294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -367,7 +367,7 @@ public class SettingsMenuDialog extends BaseDialog{
int[] lastUiScale = {settings.getInt("uiscale", 100)};
graphics.sliderPref("uiscale", 100, 25, 300, 25, s -> {
graphics.sliderPref("uiscale", 100, 5, 300, 5, s -> {
//if the user changed their UI scale, but then put it back, don't consider it 'changed'
Core.settings.put("uiscalechanged", s != lastUiScale[0]);
return s + "%";