mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 14:01:03 -08:00
Fixed #8483 (meep why did you make the minimum 5%)
This commit is contained in:
parent
60fc2fb5cd
commit
f4fabecce7
2 changed files with 2 additions and 2 deletions
|
|
@ -431,7 +431,7 @@ public class Vars implements Loadable{
|
|||
settings.setAutosave(false);
|
||||
settings.load();
|
||||
|
||||
Scl.setProduct(settings.getInt("uiscale", 100) / 100f);
|
||||
Scl.setProduct(Math.max(settings.getInt("uiscale", 100), 25) / 100f);
|
||||
|
||||
if(!loadLocales) return;
|
||||
|
||||
|
|
|
|||
|
|
@ -367,7 +367,7 @@ public class SettingsMenuDialog extends BaseDialog{
|
|||
|
||||
int[] lastUiScale = {settings.getInt("uiscale", 100)};
|
||||
|
||||
graphics.sliderPref("uiscale", 100, 5, 300, 5, s -> {
|
||||
graphics.sliderPref("uiscale", 100, 25, 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 + "%";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue