From 3e2d2cc261aeb6bf9fd2e76278c7dc3aa6b414d2 Mon Sep 17 00:00:00 2001 From: shagu Date: Wed, 28 Sep 2016 20:08:09 +0200 Subject: [PATCH] nameplate: fix wrong layer of castbar background --- modules/nameplates.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index 71ab7431..9ad8a42a 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -207,7 +207,7 @@ pfUI:RegisterModule("nameplates", function () healthbar.castbar:SetStatusBarColor(.9,.8,0,1) if healthbar.castbar.bg == nil then - healthbar.castbar.bg = healthbar.castbar:CreateTexture(nil, "BORDER") + healthbar.castbar.bg = healthbar.castbar:CreateTexture(nil, "BACKGROUND") healthbar.castbar.bg:SetTexture(0,0,0,0.90) healthbar.castbar.bg:ClearAllPoints() healthbar.castbar.bg:SetPoint("CENTER", healthbar.castbar, "CENTER", 0, 0) @@ -233,7 +233,7 @@ pfUI:RegisterModule("nameplates", function () end if healthbar.castbar.icon.bg == nil then - healthbar.castbar.icon.bg = healthbar.castbar:CreateTexture(nil, "BORDER") + healthbar.castbar.icon.bg = healthbar.castbar:CreateTexture(nil, "BACKGROUND") healthbar.castbar.icon.bg:SetTexture(0,0,0,0.90) healthbar.castbar.icon.bg:ClearAllPoints() healthbar.castbar.icon.bg:SetPoint("CENTER", healthbar.castbar.icon, "CENTER", 0, 0)