actionbar: use spell textures for macros

This commit is contained in:
shagu
2020-06-16 18:31:31 +02:00
parent b1634a3d7a
commit a2aa9e9f1a
+5
View File
@@ -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