mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-20 09:17:47 +07:00
Removed single-pixel gap in top bar
This commit is contained in:
parent
9d6e91d922
commit
76920d1307
@ -267,12 +267,12 @@ class WorldScreenTopBar(val worldScreen: WorldScreen) : Table() {
|
||||
when {
|
||||
leftRightNeeded * 2f > stage.width - resourceWidth -> {
|
||||
// Need to shift buttons down to below both stats and resources
|
||||
fillerHeight = baseHeight
|
||||
fillerHeight = baseHeight +1
|
||||
buttonY = overviewButton.minHeight / 2f
|
||||
}
|
||||
leftRightNeeded * 2f > stage.width - statsWidth -> {
|
||||
// Shifting buttons down to below stats row is enough
|
||||
fillerHeight = statsRowHeight
|
||||
fillerHeight = statsRowHeight +1
|
||||
buttonY = overviewButton.minHeight / 2f
|
||||
}
|
||||
else -> {
|
||||
|
Loading…
Reference in New Issue
Block a user