mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- added an oft-requested option to treat friendly targets the same as not having a target at all for alpha purposes. this allows people who want the HUD to be hidden when they don't have a target to stay hidden when they target a friendly, for example
This commit is contained in:
@ -274,7 +274,7 @@ function IceElement.prototype:UpdateAlpha()
|
||||
end
|
||||
|
||||
function IceElement.prototype:AlphaPassThroughTarget()
|
||||
return false
|
||||
return not self.settings.bTreatFriendlyAsTarget and UnitIsFriend("target", "player")
|
||||
end
|
||||
|
||||
-- use this to add some value to alpha every time. if you always want an element to be slightly brighter than the actual alpha for visibility
|
||||
|
Reference in New Issue
Block a user