From 17894abb6d6c87686c56c3625a74abbc7f63fadb Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 10 Aug 2025 21:37:56 +0200 Subject: [PATCH] actionbar: only try to hide existing backdrops --- modules/actionbar.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/actionbar.lua b/modules/actionbar.lua index dd05bab6..0c7165d9 100644 --- a/modules/actionbar.lua +++ b/modules/actionbar.lua @@ -1435,8 +1435,14 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function () and C.bars.bar1.buttons == C.bars.bar6.buttons then bars[1].mergedBackdrop:Show() - bars[1].backdrop:Hide() - bars[6].backdrop:Hide() + + if C.bars.bar1.background == "1" and bars[1].backdrop then + bars[1].backdrop:Hide() + end + + if C.bars.bar6.background == "1" and bars[6].backdrop then + bars[6].backdrop:Hide() + end else bars[1].mergedBackdrop:Hide()