mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 15:27:50 +07:00
Resolved #804 - bigger Diplomacy and Next Turn buttons for easier click
This commit is contained in:
@ -21,8 +21,8 @@ android {
|
||||
applicationId "com.unciv.app"
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 28
|
||||
versionCode 247
|
||||
versionName "2.16.10"
|
||||
versionCode 248
|
||||
versionName "2.16.10-patch1"
|
||||
}
|
||||
|
||||
// Had to add this crap for Travis to build, it wanted to sign the app
|
||||
|
@ -184,6 +184,8 @@ class WorldScreen : CameraStageBaseScreen() {
|
||||
displayTutorials("OtherCivEncountered")
|
||||
val btn = TextButton("Diplomacy".tr(), skin)
|
||||
btn.onClick { UnCivGame.Current.screen = DiplomacyScreen() }
|
||||
btn.label.setFontSize(30)
|
||||
btn.labelCell.pad(10f)
|
||||
diplomacyButtonWrapper.add(btn)
|
||||
}
|
||||
diplomacyButtonWrapper.pack()
|
||||
@ -223,9 +225,10 @@ class WorldScreen : CameraStageBaseScreen() {
|
||||
private fun createNextTurnButton(): TextButton {
|
||||
|
||||
val nextTurnButton = TextButton("", skin) // text is set in update()
|
||||
nextTurnButton.label.setFontSize(30)
|
||||
nextTurnButton.labelCell.pad(10f)
|
||||
|
||||
nextTurnButton.onClick {
|
||||
|
||||
// cycle through units not yet done
|
||||
if (currentPlayerCiv.shouldGoToDueUnit()) {
|
||||
val nextDueUnit = currentPlayerCiv.getNextDueUnit()
|
||||
|
Reference in New Issue
Block a user