Skip to content

Commit

Permalink
only when spaced or inset
Browse files Browse the repository at this point in the history
  • Loading branch information
eltreum0 committed Feb 28, 2024
1 parent 7bf369a commit db39e1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ElvUI_EltreumUI/Modules/Skins/Unitframes/GradientPower.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ function ElvUI_EltreumUI:ApplyUnitGradientPower(unit,name)
if unitframe.Power.backdropTex then
unitframe.Power.backdropTex:SetAlpha(E.db.ElvUI_EltreumUI.unitframes.ufcustomtexture.backdropalpha)
end
if not unitframe.Power.EltruismTransparencyFix and E.db.unitframe.thinBorders then
local shouldFIX = unitframe.USE_MINI_POWERBAR or unitframe.USE_INSET_POWERBAR --spaced or inset only
if not unitframe.Power.EltruismTransparencyFix and E.db.unitframe.thinBorders and shouldFIX then
unitframe.Power.backdrop:ClearAllPoints()
unitframe.Power.backdrop:SetAllPoints(unitframe.Power:GetStatusBarTexture())
unitframe.Power.backdrop:SetInside(unitframe.Power:GetStatusBarTexture(), 0, 0)
Expand Down

0 comments on commit db39e1a

Please sign in to comment.