From b4e08a6ba151275ff707c6893f499dca4f7f0057 Mon Sep 17 00:00:00 2001 From: shagu Date: Sat, 22 Mar 2025 10:10:47 +0100 Subject: [PATCH] reduced-actionbar: let castbar dodge the stancebar --- mods/reduced-actionbar.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/reduced-actionbar.lua b/mods/reduced-actionbar.lua index 1205d86..2b1a655 100644 --- a/mods/reduced-actionbar.lua +++ b/mods/reduced-actionbar.lua @@ -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