Fixed map shift field limiting to 3 characters

This commit is contained in:
Anuken 2022-10-15 16:30:47 -04:00
parent 17d527ab05
commit e19af8cc98
2 changed files with 3 additions and 3 deletions

View File

@ -3624,7 +3624,7 @@ public class UnitTypes{
bullet = new BasicBulletType(5f, 34){{
width = 7f;
height = 12f;
lifetime = 25f;
lifetime = 21f;
shootEffect = Fx.sparkShoot;
smokeEffect = Fx.shootBigSmoke;
hitColor = backColor = trailColor = Pal.suppress;
@ -3706,7 +3706,7 @@ public class UnitTypes{
trailParam = 4f;
speed = 3f;
damage = 75f;
lifetime = 75f;
lifetime = 68f;
width = height = 15f;
backColor = Pal.sapBulletBack;
frontColor = Pal.sapBullet;

View File

@ -43,7 +43,7 @@ public class MapResizeDialog extends BaseDialog{
table.field((x ? shiftX : shiftY) + "", value -> {
int val = Integer.parseInt(value);
if(x) shiftX = val; else shiftY = val;
}).valid(Strings::canParseInt).maxTextLength(3);
}).valid(Strings::canParseInt).maxTextLength(4);
table.row();
}