From 2de549b8b38d73d4929089fcf68e8ff4597ffcb2 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Tue, 3 Dec 2024 16:33:09 +0200 Subject: [PATCH] Resolved #12555 - Fixed city names disappearing (#12559) --- .../com/unciv/ui/components/tilegroups/layers/TileLayer.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/com/unciv/ui/components/tilegroups/layers/TileLayer.kt b/core/src/com/unciv/ui/components/tilegroups/layers/TileLayer.kt index 36ff76af0b961..fd1a6801c7103 100644 --- a/core/src/com/unciv/ui/components/tilegroups/layers/TileLayer.kt +++ b/core/src/com/unciv/ui/components/tilegroups/layers/TileLayer.kt @@ -1,19 +1,20 @@ package com.unciv.ui.components.tilegroups.layers +import com.badlogic.gdx.scenes.scene2d.Group import com.badlogic.gdx.scenes.scene2d.Touchable import com.badlogic.gdx.scenes.scene2d.ui.Image import com.unciv.logic.civilization.Civilization import com.unciv.logic.map.tile.Tile import com.unciv.models.ruleset.unique.LocalUniqueCache import com.unciv.models.tilesets.TileSetCache -import com.unciv.ui.components.NonTransformGroup import com.unciv.ui.components.tilegroups.TileGroup import com.unciv.ui.components.tilegroups.TileSetStrings -abstract class TileLayer(val tileGroup: TileGroup, size: Float) : NonTransformGroup() { +abstract class TileLayer(val tileGroup: TileGroup, size: Float) : Group() { init { touchable = Touchable.disabled + isTransform = false @Suppress("LeakingThis") setSize(size, size) }