Skip to content

Commit

Permalink
swap to set texture
Browse files Browse the repository at this point in the history
  • Loading branch information
eltreum0 committed May 7, 2023
1 parent 1d2bc98 commit ba4099a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ElvUI_EltreumUI/Modules/Skins/QuestSkin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ function ElvUI_EltreumUI:SkinQuests()
progressBar.Bar.backdrop:SetAlpha(E.db.general.backdropfadecolor.a)
progressBar.Bar.backdrop:SetBackdropColor(0,0,0)
end)
progressBar.Bar:GetStatusBarTexture():SetStatusBarTexture(E.LSM:Fetch("statusbar", E.db.ElvUI_EltreumUI.skins.queststatusbartexture))
progressBar.Bar:GetStatusBarTexture():SetTexture(E.LSM:Fetch("statusbar", E.db.ElvUI_EltreumUI.skins.queststatusbartexture))
hooksecurefunc(progressBar.Bar, "SetStatusBarColor", function(_, r, g, b)
progressBar.Bar: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})
progressBar.Bar.backdrop:SetAlpha(E.db.general.backdropfadecolor.a)
Expand Down

0 comments on commit ba4099a

Please sign in to comment.