Skip to content

Commit

Permalink
Revert "elvui now does it"
Browse files Browse the repository at this point in the history
This reverts commit fa0fcd0.
  • Loading branch information
eltreum0 committed Jul 30, 2024
1 parent 3eb4601 commit b6b9d07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ElvUI_EltreumUI/Modules/Skins/Other/QuestSkin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b6b9d07

Please sign in to comment.