From cdc8afb56d657b51b0156972e840b0b67a240993 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Mon, 28 Nov 2022 22:24:56 +0200 Subject: [PATCH] Made yields smaller so heavy yields looks better on tiles --- core/src/com/unciv/ui/cityscreen/YieldGroup.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/com/unciv/ui/cityscreen/YieldGroup.kt b/core/src/com/unciv/ui/cityscreen/YieldGroup.kt index c900577070..df4d448e3f 100644 --- a/core/src/com/unciv/ui/cityscreen/YieldGroup.kt +++ b/core/src/com/unciv/ui/cityscreen/YieldGroup.kt @@ -50,7 +50,8 @@ class YieldGroup : HorizontalGroup() { } else -> { val largeImage = ImageGetter.getStatIcon(statName) - table.add(largeImage).size(largeImage.width * 1.5f, largeImage.height * 1.5f) + table.add(largeImage.surroundWithCircle(25f) + .apply { circle.color = Color.BLACK;circle.color.a = 0.5f }) } } table.pack()