actionbar-right-center: add module to center vertical actionbars
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user