Skip to content

Commit

Permalink
[Bugfix] Fix Background Alpha not updating properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Krealle committed Sep 1, 2024
1 parent e82d8ad commit 33380e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions UnitFrames/UnitButton.lua
Original file line number Diff line number Diff line change
Expand Up @@ -385,5 +385,10 @@ local function UpdateAppearance(kind)
end)
end)
end
if not kind or kind == "alpha" then
Util:IterateAllUnitButtons(function(button)
button:SetBackdropColor(0, 0, 0, CellDB["appearance"]["bgAlpha"])
end)
end
end
CUF:RegisterCallback("UpdateAppearance", "UpdateAppearance", UpdateAppearance)

0 comments on commit 33380e4

Please sign in to comment.