unitframes: update alpha on disabled rangefading

This commit is contained in:
shagu
2017-09-08 19:32:37 +02:00
parent 531f79b576
commit c6003f08f4
+7
View File
@@ -286,6 +286,13 @@ function pfUI.uf:CreateUnitFrame(unit, id, config, tick)
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
if not this.cache then return end