mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +00:00
kill the nVidia logo
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user