From 33380e468787560371f0ac2074ca86ef88f0d7b3 Mon Sep 17 00:00:00 2001 From: Vollmer Date: Sun, 1 Sep 2024 18:59:45 +0200 Subject: [PATCH] [Bugfix] Fix Background Alpha not updating properly --- UnitFrames/UnitButton.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UnitFrames/UnitButton.lua b/UnitFrames/UnitButton.lua index 8be03ec..ef069bc 100644 --- a/UnitFrames/UnitButton.lua +++ b/UnitFrames/UnitButton.lua @@ -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)