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
|
--Lua functions
|
||||||
local _G = _G
|
local _G = _G
|
||||||
local unpack = unpack
|
local unpack = unpack
|
||||||
local find = string.find
|
local find, getn = string.find, table.getn
|
||||||
local getn = table.getn
|
|
||||||
--WoW API / Variables
|
--WoW API / Variables
|
||||||
local IsAddOnLoaded = IsAddOnLoaded
|
local IsAddOnLoaded = IsAddOnLoaded
|
||||||
local UnitIsUnit = UnitIsUnit
|
local UnitIsUnit = UnitIsUnit
|
||||||
@@ -41,6 +40,15 @@ local function LoadSkin()
|
|||||||
E:SetTemplate(_G[skins[i]], "Transparent")
|
E:SetTemplate(_G[skins[i]], "Transparent")
|
||||||
end
|
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 r, g, b = 0.8, 0.8, 0.8
|
||||||
local function StyleButton(f)
|
local function StyleButton(f)
|
||||||
local width, height = (f:GetWidth() * .6), f:GetHeight()
|
local width, height = (f:GetWidth() * .6), f:GetHeight()
|
||||||
|
|||||||
Reference in New Issue
Block a user