mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-11 15:48:07 +07:00
Fixed BlocksFragment categories row limit (#340)
This commit is contained in:
parent
cd0e49914b
commit
1251680a1c
@ -128,7 +128,7 @@ public class BlocksFragment extends Fragment{
|
|||||||
recipeTable.margin(4).top().left().marginRight(15);
|
recipeTable.margin(4).top().left().marginRight(15);
|
||||||
|
|
||||||
//add a new row here when needed
|
//add a new row here when needed
|
||||||
if(cati == secrows){
|
if(cati % secrows == 0){
|
||||||
catTable = new Table();
|
catTable = new Table();
|
||||||
selectTable.row();
|
selectTable.row();
|
||||||
selectTable.add(catTable).colspan(secrows).padTop(-5).growX();
|
selectTable.add(catTable).colspan(secrows).padTop(-5).growX();
|
||||||
|
Loading…
Reference in New Issue
Block a user