diff --git a/core/src/com/unciv/ui/screens/worldscreen/WorldMapHolder.kt b/core/src/com/unciv/ui/screens/worldscreen/WorldMapHolder.kt index f22ae36ead..df670cb925 100644 --- a/core/src/com/unciv/ui/screens/worldscreen/WorldMapHolder.kt +++ b/core/src/com/unciv/ui/screens/worldscreen/WorldMapHolder.kt @@ -508,8 +508,8 @@ class WorldMapHolder( actor.toFront() actor.y += actor.height + actor.setOrigin(Align.bottom) unitActionOverlays.add(actor) - } /** Returns true when the civ is a human player defeated in singleplayer game */ @@ -775,6 +775,10 @@ class WorldMapHolder( tileGroup.layerCityButton.isTransform = true tileGroup.layerCityButton.setScale(clampedCityButtonZoom) } + for (actor in unitActionOverlays) { + if (actor is Group) actor.isTransform = true + actor.setScale(clampedCityButtonZoom) + } } }