mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-20 19:30:49 +00:00
unitframes: update alpha on disabled rangefading
This commit is contained in:
@@ -286,6 +286,13 @@ function pfUI.uf:CreateUnitFrame(unit, id, config, tick)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
if this:GetAlpha() ~= 1 then
|
||||||
|
this:SetAlpha(1)
|
||||||
|
if this.config.portrait == "bar" then
|
||||||
|
this.portrait:SetAlpha(pfUI_config.unitframes.portraitalpha)
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if not this.cache then return end
|
if not this.cache then return end
|
||||||
|
|||||||
Reference in New Issue
Block a user