From 04b1fad4e828e496f039dd9c16dcd6b77408e139 Mon Sep 17 00:00:00 2001 From: HonorGoG Date: Fri, 9 Aug 2019 23:43:14 -0700 Subject: [PATCH] - More artwork path corrections for textures. --- TitanClassic/TitanClassicAutoHide.lua | 4 ++-- TitanClassic/TitanClassicConfig.lua | 2 +- TitanClassic/TitanClassicVariables.lua | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/TitanClassic/TitanClassicAutoHide.lua b/TitanClassic/TitanClassicAutoHide.lua index 918b81b..7e09f17 100644 --- a/TitanClassic/TitanClassicAutoHide.lua +++ b/TitanClassic/TitanClassicAutoHide.lua @@ -29,9 +29,9 @@ local function Titan_AutoHide_SetIcon(self) -- Get the icon of the icon template local icon = _G[frame.."Icon"] if (TitanPanelGetVar(bar.."_Hide")) then - icon:SetTexture("Interface\\AddOns\\Titan\\Artwork\\TitanPanelPushpinOut") + icon:SetTexture("Interface\\AddOns\\TitanClassic\\Artwork\\TitanPanelPushpinOut") else - icon:SetTexture("Interface\\AddOns\\Titan\\Artwork\\TitanPanelPushpinIn") + icon:SetTexture("Interface\\AddOns\\TitanClassic\\Artwork\\TitanPanelPushpinIn") end end diff --git a/TitanClassic/TitanClassicConfig.lua b/TitanClassic/TitanClassicConfig.lua index a824a6d..5ea48af 100644 --- a/TitanClassic/TitanClassicConfig.lua +++ b/TitanClassic/TitanClassicConfig.lua @@ -478,7 +478,7 @@ local optionsSkinsCustom = { local v; for _,v in pairs (TitanSkins) do if v.path ~= TitanPanelGetVar("TexturePath") - and v.path ~= "Interface\\AddOns\\Titan\\Artwork\\" + and v.path ~= "Interface\\AddOns\\TitanClassic\\Artwork\\" and v.titan ~= true then Skinlist[v.path] = "|cff19ff19"..v.name.."|r" diff --git a/TitanClassic/TitanClassicVariables.lua b/TitanClassic/TitanClassicVariables.lua index d277877..6592e63 100644 --- a/TitanClassic/TitanClassicVariables.lua +++ b/TitanClassic/TitanClassicVariables.lua @@ -234,7 +234,7 @@ TITAN_PANEL_SAVED_VARIABLES table holds the Titan Panel Default SavedVars. TITAN_PANEL_SAVED_VARIABLES = { Buttons = {}, Location = {}, - TexturePath = "Interface\\AddOns\\Titan\\Artwork\\", + TexturePath = "Interface\\AddOns\\TitanClassic\\Artwork\\", Transparency = 0.7, AuxTransparency = 0.7, Scale = 1, @@ -299,7 +299,7 @@ TITAN_ALL_SAVED_VARIABLES = { }; -- The skins released with Titan -TitanSkinsDefaultPath = "Interface\\AddOns\\Titan\\Artwork\\" +TitanSkinsDefaultPath = "Interface\\AddOns\\TitanClassic\\Artwork\\" TitanSkinsCustomPath = TitanSkinsDefaultPath.."Custom\\" TitanSkinsPathEnd = "\\" TitanSkinsDefault = { -- 1.7.9.5