mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 14:24:43 -04:00
Fix actionGroup Opacity (#7370)
Makes actionGroup layer of unit icon 100% opaque when selected.
This commit is contained in:
parent
4f97c239b4
commit
33e5b6475a
@ -74,6 +74,7 @@ class UnitGroup(val unit: MapUnit, val size: Float): Group() {
|
|||||||
//Make unit icons fully opaque when units are selected
|
//Make unit icons fully opaque when units are selected
|
||||||
unitBaseImage.color.a = 1f
|
unitBaseImage.color.a = 1f
|
||||||
background?.color?.a = 1f
|
background?.color?.a = 1f
|
||||||
|
actionGroup?.color?.a = 1f
|
||||||
|
|
||||||
val whiteHalo = getBackgroundImageForUnit()
|
val whiteHalo = getBackgroundImageForUnit()
|
||||||
val whiteHaloSize = 30f
|
val whiteHaloSize = 30f
|
||||||
|
Loading…
x
Reference in New Issue
Block a user