Modules/NamePlates: fix issues with threat coloring / other non target elements

This commit is contained in:
andrew6180
2023-05-27 20:12:22 -07:00
parent e2ebae5d75
commit 0e96183e4c
5 changed files with 96 additions and 44 deletions
+1
View File
@@ -539,6 +539,7 @@ function NP:ConfigureAll(init)
end
function NP:PlateFade(nameplate, timeToFade, startAlpha, endAlpha)
if not nameplate.nameplateAnchor:IsShown() then return end
-- we need our own function because we want a smooth transition and dont want it to force update every pass.
-- its controlled by fadeTimer which is reset when UIFrameFadeOut or UIFrameFadeIn code runs.