mirror of
https://github.com/yawaflua/Informatis.git
synced 2025-12-10 20:19:26 +02:00
try fixing issue: https://github.com/Sharlottes/UnitInfo/issues/54
This commit is contained in:
@@ -88,6 +88,10 @@ public class HudUi {
|
||||
|
||||
if(Scl.scl(modUiScale) != settings.getInt("infoUiScale") / 100f){
|
||||
modUiScale = settings.getInt("infoUiScale") / 100f;
|
||||
if(modUiScale <= 0) {
|
||||
Log.warn("ui scaling reached zero");
|
||||
modUiScale = 0.25f;
|
||||
}
|
||||
mainTable.clearChildren();
|
||||
addTable();
|
||||
coreItems.rebuild();
|
||||
|
||||
Reference in New Issue
Block a user