From b70447c093278f5b889ece9330b2cac02279e44e Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 10 Oct 2021 14:36:23 +0200 Subject: [PATCH] hide-gryphons: option to hide actionbar decoration --- ShaguTweaks-tbc.toc | 1 + ShaguTweaks.toc | 1 + mods/hide-gryphons.lua | 13 +++++++++++++ 3 files changed, 15 insertions(+) create mode 100644 mods/hide-gryphons.lua diff --git a/ShaguTweaks-tbc.toc b/ShaguTweaks-tbc.toc index 2dae8fe..560e545 100644 --- a/ShaguTweaks-tbc.toc +++ b/ShaguTweaks-tbc.toc @@ -58,3 +58,4 @@ mods\auto-stance.lua mods\tooltip-details.lua mods\hide-errors.lua mods\chat-tweaks.lua +mods\hide-gryphons.lua diff --git a/ShaguTweaks.toc b/ShaguTweaks.toc index e1f562f..a6c70ae 100644 --- a/ShaguTweaks.toc +++ b/ShaguTweaks.toc @@ -58,3 +58,4 @@ mods\auto-stance.lua mods\tooltip-details.lua mods\hide-errors.lua mods\chat-tweaks.lua +mods\hide-gryphons.lua diff --git a/mods/hide-gryphons.lua b/mods/hide-gryphons.lua new file mode 100644 index 0000000..a1df71b --- /dev/null +++ b/mods/hide-gryphons.lua @@ -0,0 +1,13 @@ +local _G = _G or getfenv(0) + +local module = ShaguTweaks:register({ + title = "Hide Gryphons", + description = "Hides the gryphons left and right of the action bar.", + expansions = { ["vanilla"] = true, ["tbc"] = true }, + enabled = nil, +}) + +module.enable = function(self) + MainMenuBarLeftEndCap:Hide() + MainMenuBarRightEndCap:Hide() +end