From aa5f25cd5464df6a9ca1cb690d22c33c7cf104c7 Mon Sep 17 00:00:00 2001 From: Crum Date: Mon, 18 Dec 2017 20:11:07 -0600 Subject: [PATCH] kill the nVidia logo --- 2/3/4/5/6/7/ElvUI/Modules/Skins/Blizzard/Misc.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/2/3/4/5/6/7/ElvUI/Modules/Skins/Blizzard/Misc.lua b/2/3/4/5/6/7/ElvUI/Modules/Skins/Blizzard/Misc.lua index a1c00f9..831c0de 100644 --- a/2/3/4/5/6/7/ElvUI/Modules/Skins/Blizzard/Misc.lua +++ b/2/3/4/5/6/7/ElvUI/Modules/Skins/Blizzard/Misc.lua @@ -5,8 +5,7 @@ local S = E:GetModule("Skins"); --Lua functions local _G = _G local unpack = unpack -local find = string.find -local getn = table.getn +local find, getn = string.find, table.getn --WoW API / Variables local IsAddOnLoaded = IsAddOnLoaded local UnitIsUnit = UnitIsUnit @@ -41,6 +40,15 @@ local function LoadSkin() E:SetTemplate(_G[skins[i]], "Transparent") end + for i = 1, OptionsFrame:GetNumRegions() do + local region = select(i, OptionsFrame:GetRegions()) + if region:GetObjectType() == "Texture" then + if i == 3 then + E:Kill(region) -- Kill the nVidia logo + end + end + end + local r, g, b = 0.8, 0.8, 0.8 local function StyleButton(f) local width, height = (f:GetWidth() * .6), f:GetHeight()