diff --git a/ElvUI_EltreumUI/Modules/Skins/Other/QuestSkin.lua b/ElvUI_EltreumUI/Modules/Skins/Other/QuestSkin.lua index 24c6ccec6..118e0ea81 100644 --- a/ElvUI_EltreumUI/Modules/Skins/Other/QuestSkin.lua +++ b/ElvUI_EltreumUI/Modules/Skins/Other/QuestSkin.lua @@ -318,9 +318,10 @@ function ElvUI_EltreumUI:SkinQuests() end if bar.SetPercent then - hooksecurefunc(bar:GetParent(), "SetPercent", function(frame) + hooksecurefunc(bar:GetParent(), "SetPercent", function(frame,percent) local statusbar = frame.Bar if not statusbar then return end + S:StatusBarColorGradient(statusbar, percent, 100) local r,g,b = statusbar:GetStatusBarColor() statusbar:GetStatusBarTexture():SetGradient("HORIZONTAL", {r=r - 0.4,g= g - 0.4,b= b - 0.4,a= E.db.general.backdropfadecolor.a}, {r=r + 0.2,g= g + 0.2,b= b + 0.2,a= E.db.general.backdropfadecolor.a}) statusbar.backdrop:SetAlpha(E.db.general.backdropfadecolor.a)