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:
@ -1253,7 +1253,7 @@ function IceBarElement.prototype:UpdateBar(scale, color, alpha)
|
||||
if (self.combat) then
|
||||
self.alpha = self.settings.alphaic
|
||||
self.backgroundAlpha = self.settings.alphaicbg
|
||||
elseif (self.target) then
|
||||
elseif (self.target and not self:AlphaPassThroughTarget()) then
|
||||
self.alpha = self.settings.alphaTarget
|
||||
self.backgroundAlpha = self.settings.alphaTargetbg
|
||||
elseif (self:UseTargetAlpha(scale)) then
|
||||
|
Reference in New Issue
Block a user