Civ list in new game screen is only scrollable up-down

This commit is contained in:
Yair Morgenstern 2018-08-30 22:17:42 +03:00
parent 2605ce6b71
commit 3e1fe03205

View file

@ -94,11 +94,11 @@ class NewGameScreen: PickerScreen(){
civPickerTable.add(nationTable).row()
}
mainTable.setFillParent(true)
mainTable.add(ScrollPane(civPickerTable))
mainTable.add(ScrollPane(civPickerTable).apply { setScrollingDisabled(true,false) })
topTable.addActor(mainTable)
}
fun updateNationTables(){
private fun updateNationTables(){
nationTables.forEach { it.update() }
}