reduced-actionbar: let castbar dodge the stancebar

This commit is contained in:
shagu
2025-03-22 10:10:47 +01:00
parent 6ff6ab0b14
commit b4e08a6ba1
+2 -1
View File
@@ -148,7 +148,8 @@ module.enable = function(self)
anchor = MultiBarBottomLeft:IsVisible() and MultiBarBottomLeft or anchor
anchor = MultiBarBottomRight:IsVisible() and MultiBarBottomRight or anchor
local pet_offset = PetActionBarFrame:IsVisible() and 40 or 0
CastingBarFrame:SetPoint("BOTTOM", anchor, "TOP", 0, 10 + pet_offset)
local stance_offset = ShapeshiftBarFrame:IsVisible() and 40 or 0
CastingBarFrame:SetPoint("BOTTOM", anchor, "TOP", 0, 10 + pet_offset + stance_offset)
end
-- restore frame positions when UIParent becomes visible