From a2aa9e9f1a63897a211912c26cdddf3d3c03ce05 Mon Sep 17 00:00:00 2001 From: shagu Date: Tue, 16 Jun 2020 18:31:31 +0200 Subject: [PATCH] actionbar: use spell textures for macros --- modules/actionbar.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/actionbar.lua b/modules/actionbar.lua index fdae6920..1a845d8b 100644 --- a/modules/actionbar.lua +++ b/modules/actionbar.lua @@ -442,6 +442,11 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function () id = self.bar == 1 and self.slot or sid-((self.bar)-1)*12 end + -- overwrite with spell macro texture where possible + if self.spellslot and self.booktype then + texture = GetSpellTexture(self.spellslot, self.booktype) + end + if not self.showempty and self.backdrop and not texture and grid == 0 then self.backdrop:Hide() self.hide = true