From 96c42b15221162fc9c89b30b039163f6942e58a2 Mon Sep 17 00:00:00 2001 From: Sumsebrum Date: Sun, 27 Mar 2022 18:50:46 +0200 Subject: [PATCH] fix totempulse bar background not showing --- Modules/TotemPulse.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/TotemPulse.lua b/Modules/TotemPulse.lua index cd2fd2d..ff511e4 100644 --- a/Modules/TotemPulse.lua +++ b/Modules/TotemPulse.lua @@ -313,7 +313,7 @@ function TotemPulse:CreateCooldownFrame(style) totemTick.spark.position = 0 totemTick.spark:SetRotation(style == "Vertical" and ninetyDegreeInRad or 0) - totemTick.bg = totemTick.bar:CreateTexture(nil, "BACKGROUND") + totemTick.bg = totemTick:CreateTexture(nil, "ARTWORK") totemTick.bg:SetTexture(Gladdy:SMFetch("statusbar", "totemPulseBarTexture")) totemTick.bg:SetAllPoints(totemTick.bar) totemTick.bg:SetVertexColor(Gladdy:SetColor(Gladdy.db.totemPulseBarBgColor)) @@ -461,7 +461,6 @@ function TotemPulse:UpdateBar(bar) bar.bar:SetStatusBarTexture(Gladdy:SMFetch("statusbar", "totemPulseBarTexture")) bar.bar:SetStatusBarColor(Gladdy:SetColor(Gladdy.db.totemPulseBarColor)) - bar.bar:SetAllPoints(bar) bar.bg:SetTexture(Gladdy:SMFetch("statusbar", "totemPulseBarTexture")) bar.bg:SetVertexColor(Gladdy:SetColor(Gladdy.db.totemPulseBarBgColor))