From 30ef7e3e5d4dc1c72d5175f15ceff0a2c65c0af5 Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 5 Mar 2020 18:37:17 +0100 Subject: [PATCH] unitframes: always refresh regular portraits alpha --- api/unitframes.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/unitframes.lua b/api/unitframes.lua index 6bf541b6..be00c934 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -1204,6 +1204,7 @@ function pfUI.uf:RefreshUnit(unit, component) end local C = pfUI_config + -- show groupframes as raid if strsub(unit:GetName(),0,6) == "pfRaid" then local id = tonumber(strsub(unit:GetName(),7,8)) @@ -1520,6 +1521,8 @@ function pfUI.uf:RefreshUnit(unit, component) else if unit.config.portrait == "bar" then unit.portrait:SetAlpha(C.unitframes.portraitalpha) + else + unit.portrait:SetAlpha(1) end unit.portrait.tex:Hide() unit.portrait.model:Show()