Fixed map shift field limiting to 3 characters
This commit is contained in:
@@ -3624,7 +3624,7 @@ public class UnitTypes{
|
|||||||
bullet = new BasicBulletType(5f, 34){{
|
bullet = new BasicBulletType(5f, 34){{
|
||||||
width = 7f;
|
width = 7f;
|
||||||
height = 12f;
|
height = 12f;
|
||||||
lifetime = 25f;
|
lifetime = 21f;
|
||||||
shootEffect = Fx.sparkShoot;
|
shootEffect = Fx.sparkShoot;
|
||||||
smokeEffect = Fx.shootBigSmoke;
|
smokeEffect = Fx.shootBigSmoke;
|
||||||
hitColor = backColor = trailColor = Pal.suppress;
|
hitColor = backColor = trailColor = Pal.suppress;
|
||||||
@@ -3706,7 +3706,7 @@ public class UnitTypes{
|
|||||||
trailParam = 4f;
|
trailParam = 4f;
|
||||||
speed = 3f;
|
speed = 3f;
|
||||||
damage = 75f;
|
damage = 75f;
|
||||||
lifetime = 75f;
|
lifetime = 68f;
|
||||||
width = height = 15f;
|
width = height = 15f;
|
||||||
backColor = Pal.sapBulletBack;
|
backColor = Pal.sapBulletBack;
|
||||||
frontColor = Pal.sapBullet;
|
frontColor = Pal.sapBullet;
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ public class MapResizeDialog extends BaseDialog{
|
|||||||
table.field((x ? shiftX : shiftY) + "", value -> {
|
table.field((x ? shiftX : shiftY) + "", value -> {
|
||||||
int val = Integer.parseInt(value);
|
int val = Integer.parseInt(value);
|
||||||
if(x) shiftX = val; else shiftY = val;
|
if(x) shiftX = val; else shiftY = val;
|
||||||
}).valid(Strings::canParseInt).maxTextLength(3);
|
}).valid(Strings::canParseInt).maxTextLength(4);
|
||||||
|
|
||||||
table.row();
|
table.row();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user