Fix actionGroup Opacity (#7370)

Makes actionGroup layer of unit icon 100% opaque when selected.
This commit is contained in:
letstalkaboutdune 2022-07-04 12:16:42 -07:00 committed by GitHub
parent 4f97c239b4
commit 33e5b6475a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,6 +74,7 @@ class UnitGroup(val unit: MapUnit, val size: Float): Group() {
//Make unit icons fully opaque when units are selected
unitBaseImage.color.a = 1f
background?.color?.a = 1f
actionGroup?.color?.a = 1f
val whiteHalo = getBackgroundImageForUnit()
val whiteHaloSize = 30f