From d8a9f370280769b8c6c993d1183eeb2a6633c693 Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 21 Mar 2025 15:26:53 +0100 Subject: [PATCH] actionbar-right-center: add module to center vertical actionbars --- ShaguTweaks-extras.toc | 1 + mods/actionbar-right-center.lua | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 mods/actionbar-right-center.lua diff --git a/ShaguTweaks-extras.toc b/ShaguTweaks-extras.toc index e33b17b..419c25d 100644 --- a/ShaguTweaks-extras.toc +++ b/ShaguTweaks-extras.toc @@ -27,4 +27,5 @@ mods\macro-tweaks.lua mods\worldmap-reveal.lua mods\reduced-actionbar-bags.lua mods\reduced-actionbar-micromenu.lua +mods\actionbar-right-center.lua mods\chat-text-shadow.lua diff --git a/mods/actionbar-right-center.lua b/mods/actionbar-right-center.lua new file mode 100644 index 0000000..f77eeaf --- /dev/null +++ b/mods/actionbar-right-center.lua @@ -0,0 +1,16 @@ +local _G = ShaguTweaks.GetGlobalEnv() +local T = ShaguTweaks.T +local rgbhex = ShaguTweaks.rgbhex + +local module = ShaguTweaks:register({ + title = T["Center Vertical Actionbar"], + description = T["Center the vertical actionbar on the right side."], + expansions = { ["vanilla"] = true, ["tbc"] = false }, + maintainer = "@shagu (GitHub)", + enabled = nil, +}) + +module.enable = function(self) + MultiBarRight:ClearAllPoints() + MultiBarRight:SetPoint("RIGHT", 0, -16) +end