actionbar: only try to hide existing backdrops

This commit is contained in:
shagu
2025-08-10 21:37:56 +02:00
parent 703e93d021
commit 17894abb6d
+8 -2
View File
@@ -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()