FIX: unintended code slipped through (#4143)

This commit is contained in:
Federico Luongo
2021-06-14 21:44:09 +02:00
committed by GitHub
parent fbebcdcd21
commit 5e1803c40a
2 changed files with 1 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 B

View File

@ -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 }