Fixed scrolling player menu causing panning on mobile

This commit is contained in:
Anuken
2018-05-20 11:47:20 -04:00
parent 8ca861360b
commit 0e35bb4852
3 changed files with 4 additions and 3 deletions

View File

@@ -33,6 +33,7 @@ public class PlayerListFragment implements Fragment{
public void build(){
new table(){{
new table("pane"){{
touchable(Touchable.enabled);
margin(14f);
new label(() -> Bundles.format(playerGroup.size() == 1 ? "text.players.single" :
"text.players", playerGroup.size()));