mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-26 21:35:14 -04:00
FIX: unintended code slipped through (#4143)
This commit is contained in:
parent
fbebcdcd21
commit
5e1803c40a
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.color = color.cpy().apply { a = alpha }
|
||||
|
||||
if (number >= 0)
|
||||
miscLayerGroup.addActor(number.toLabel())
|
||||
}
|
||||
|
||||
fun hideCircle() { circleImage.isVisible = false }
|
||||
|
Loading…
x
Reference in New Issue
Block a user