mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 14:24:43 -04:00
Civ list in new game screen is only scrollable up-down
This commit is contained in:
parent
2605ce6b71
commit
3e1fe03205
@ -94,11 +94,11 @@ class NewGameScreen: PickerScreen(){
|
|||||||
civPickerTable.add(nationTable).row()
|
civPickerTable.add(nationTable).row()
|
||||||
}
|
}
|
||||||
mainTable.setFillParent(true)
|
mainTable.setFillParent(true)
|
||||||
mainTable.add(ScrollPane(civPickerTable))
|
mainTable.add(ScrollPane(civPickerTable).apply { setScrollingDisabled(true,false) })
|
||||||
topTable.addActor(mainTable)
|
topTable.addActor(mainTable)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun updateNationTables(){
|
private fun updateNationTables(){
|
||||||
nationTables.forEach { it.update() }
|
nationTables.forEach { it.update() }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user