reduced-actionbar-bags: switch category

This commit is contained in:
shagu
2025-03-21 15:20:29 +01:00
parent 2f4279cb62
commit 4fafb96c3d
+3 -2
View File
@@ -2,16 +2,17 @@ local _G = ShaguTweaks.GetGlobalEnv()
local T = ShaguTweaks.T
local module = ShaguTweaks:register({
title = T["Reduced Actionbar Bags"],
title = T["Show Bags"],
description = T["Shows bag and keyring buttons when using the reduced actionbar layout. Hold Ctrl+Shift to move the bag bar."],
expansions = { ["vanilla"] = true, ["tbc"] = nil },
category = T["Reduced Actionbar Size"],
maintainer = "@shagu (GitHub)",
enabled = nil,
})
module.enable = function(self)
-- only run if reduced actionbar is enabled
if not ShaguTweaks_config[T["Reduced Actionbar Size"]] == 1 then return end
if ShaguTweaks_config[T["Reduced Actionbar Size"]] == 0 then return end
local frames = {
KeyRingButton, CharacterBag3Slot, CharacterBag2Slot, CharacterBag1Slot,