mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-10 07:16:54 +07:00
Clicking the Back button when on diplomacy screen returns you to the world screen
This commit is contained in:
parent
b1e17a67c6
commit
1affaa38c2
@ -11,6 +11,7 @@ class DiplomacyScreen():CameraStageBaseScreen(){
|
||||
val rightSideTable = Table()
|
||||
|
||||
init{
|
||||
onBackButtonClicked { UnCivGame.Current.setWorldScreen(); dispose() }
|
||||
val splitPane = SplitPane(ScrollPane(leftSideTable),rightSideTable,false, skin)
|
||||
splitPane.setSplitAmount(0.2f)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user