Fixed various UI bugs

This commit is contained in:
Anuken
2018-02-02 15:00:00 -05:00
parent 9cd0545fc4
commit ec67418f8a
4 changed files with 24 additions and 14 deletions

View File

@@ -33,7 +33,7 @@ public class PlacementFragment implements Fragment{
InputHandler input = control.input();
float s = 50f;
float translation = Unit.dp.scl(54f);
float translation = Unit.dp.scl(58f);
new table(){{
visible(() -> !state.is(State.menu));
@@ -96,6 +96,7 @@ public class PlacementFragment implements Fragment{
row();
//break menu
new table() {{
abottom();
aleft();
@@ -116,7 +117,7 @@ public class PlacementFragment implements Fragment{
breaktable = new table("pane") {{
visible(() -> shown);
margin(5f);
marginLeft(0f);
marginLeft(-(Unit.dp.scl(1f) - 1f) * 2.5f);
touchable(Touchable.enabled);
aleft();
@@ -150,6 +151,7 @@ public class PlacementFragment implements Fragment{
row();
//place menu
new table() {{
touchable(Touchable.enabled);