Rework the base pony scaling to be less awkward

This commit is contained in:
Sollace 2018-08-20 20:12:14 +02:00
parent 72a676b4bb
commit f7052504e8
2 changed files with 6 additions and 8 deletions

View file

@ -65,4 +65,8 @@ public class PonyConfig extends SensibleConfig implements Exposable {
public void setPonyLevel(PonyLevel ponylevel) {
this.ponylevel = ponylevel;
}
public float getGlobalScaleFactor() {
return showscale ? 1F : 1.3F;
}
}

View file

@ -25,17 +25,11 @@ public enum PonySize implements ITriggerPixelMapped<PonySize> {
}
public float getShadowSize() {
if (MineLittlePony.getConfig().showscale) {
return shadowSize * 0.9F;
}
return shadowSize;
return shadowSize * MineLittlePony.getConfig().getGlobalScaleFactor();
}
public float getScaleFactor() {
if (MineLittlePony.getConfig().showscale) {
return scale * 0.9F;
}
return scale;
return scale * MineLittlePony.getConfig().getGlobalScaleFactor();
}
public PonyTransformation getTranformation() {