From bac8c47238d69732bc6833cbcd78b39c5a00358d Mon Sep 17 00:00:00 2001 From: Arthur Englebert Date: Tue, 7 Feb 2023 11:54:19 +0100 Subject: [PATCH] [Fix] Update RaiderIO hooks RaiderIO addon had different names; one was RaiderIO, the new packaging is "Raiderio", notice the difference in the end. --- AddOnSkins/Skins/AddOns/RaiderIO.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/AddOnSkins/Skins/AddOns/RaiderIO.lua b/AddOnSkins/Skins/AddOns/RaiderIO.lua index 381e0444..b922e2ea 100644 --- a/AddOnSkins/Skins/AddOns/RaiderIO.lua +++ b/AddOnSkins/Skins/AddOns/RaiderIO.lua @@ -7,9 +7,19 @@ function AS:RaiderIO() if _G.RaiderIO_CustomDropDownListMenuBackdrop then AS:SkinTooltip(_G.RaiderIO_CustomDropDownListMenuBackdrop) end + + if _G.Raiderio_CustomDropDownListMenuBackdrop then + AS:SkinTooltip(_G.Raiderio_CustomDropDownListMenuBackdrop) + end + _G.PVEFrame:HookScript("OnShow", function(self) - if not _G.RaiderIO_ProfileTooltip.IsSkinned then + if _G.Raiderio_ProfileTooltip and not _G.Raiderio_ProfileTooltip.IsSkinned then + AS:SkinFrame(_G.Raiderio_ProfileTooltip) + + _G.Raiderio_ProfileTooltip.IsSkinned = true + end + if _G.RaiderIO_ProfileTooltip and not _G.RaiderIO_ProfileTooltip.IsSkinned then AS:SkinFrame(_G.RaiderIO_ProfileTooltip) _G.RaiderIO_ProfileTooltip.IsSkinned = true