mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-20 19:56:51 +01: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