mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- separated alpha settings for "OOC and target" and "OOC and not full"; existing user settings are preserved (target gets copied to the new Not Full setting) the first time this version (or later) of the addon is loaded by a user with existing settings
This commit is contained in:
@ -215,9 +215,12 @@ function IceElement.prototype:UpdateAlpha()
|
||||
if (self.combat) then
|
||||
self.alpha = self.settings.alphaic
|
||||
self.backgroundAlpha = self.settings.alphaicbg
|
||||
elseif (self.target or self:UseTargetAlpha(scale)) then
|
||||
elseif (self.target) then
|
||||
self.alpha = self.settings.alphaTarget
|
||||
self.backgroundAlpha = self.settings.alphaTargetbg
|
||||
elseif (self:UseTargetAlpha(scale)) then
|
||||
self.alpha = self.settings.alphaNotFull
|
||||
self.backgroundAlpha = self.settings.alphaNotFullbg
|
||||
else
|
||||
self.alpha = self.settings.alphaooc
|
||||
self.backgroundAlpha = self.settings.alphaoocbg
|
||||
|
Reference in New Issue
Block a user