Skip to content

Commit

Permalink
Resolved #12555 - Fixed city names disappearing (#12559)
Browse files Browse the repository at this point in the history
  • Loading branch information
yairm210 authored Dec 3, 2024
1 parent 1c0ba1f commit 2de549b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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)
}
Expand Down

0 comments on commit 2de549b

Please sign in to comment.