From 940be5854c974f1df8cea4969863068cf2101bbe Mon Sep 17 00:00:00 2001 From: Dusk-92 Date: Mon, 31 Aug 2026 13:43:41 +0200 Subject: [PATCH] Center XP bar with fixed floating offset --- mods/reduced-actionbar.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mods/reduced-actionbar.lua b/mods/reduced-actionbar.lua index 4ccead4..286c1ea 100644 --- a/mods/reduced-actionbar.lua +++ b/mods/reduced-actionbar.lua @@ -96,6 +96,14 @@ module.enable = function(self) MainMenuXPBarTexture0:SetPoint("LEFT", MainMenuExpBar, "LEFT") MainMenuXPBarTexture1:SetPoint("RIGHT", MainMenuExpBar, "RIGHT") + -- Floating Actionbar removes the artwork that visually hides the uneven + -- spacing around the XP bar. Reduced Actionbar keeps a 3px gap above the + -- XP bar, so move the XP bar up by 3px to match that gap below as well. + if ShaguTweaks_config and ShaguTweaks_config[T["Floating Actionbar"]] == 1 then + MainMenuExpBar:ClearAllPoints() + MainMenuExpBar:SetPoint("TOP", MainMenuBar, "TOP", 0, 3) + end + -- reputation bar ReputationWatchBar:SetPoint("BOTTOM", MainMenuExpBar, "TOP", 0, 0) ReputationWatchBarTexture0:SetPoint("LEFT", ReputationWatchBar, "LEFT")