mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 15:27:50 +07:00
FIX: unintended code slipped through (#4143)
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 329 B |
@ -779,12 +779,9 @@ open class TileGroup(var tileInfo: TileInfo, var tileSetStrings:TileSetStrings,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fun showCircle(color: Color, alpha: Float = 0.3f, number: Int = -1) {
|
fun showCircle(color: Color, alpha: Float = 0.3f) {
|
||||||
circleImage.isVisible = true
|
circleImage.isVisible = true
|
||||||
circleImage.color = color.cpy().apply { a = alpha }
|
circleImage.color = color.cpy().apply { a = alpha }
|
||||||
|
|
||||||
if (number >= 0)
|
|
||||||
miscLayerGroup.addActor(number.toLabel())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun hideCircle() { circleImage.isVisible = false }
|
fun hideCircle() { circleImage.isVisible = false }
|
||||||
|
Reference in New Issue
Block a user