mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
Bugfixes: Removed retail API calls, ran linting script and static analysis.
This commit is contained in:
@@ -27,7 +27,9 @@ local function LoadSkin()
|
||||
}
|
||||
|
||||
for i = 1, getn(skins) do
|
||||
E:SetTemplate(_G[skins[i]], "Transparent")
|
||||
if _G[skins[i]] then
|
||||
E:SetTemplate(_G[skins[i]], "Transparent")
|
||||
end
|
||||
end
|
||||
|
||||
-- ChatMenus
|
||||
@@ -188,7 +190,7 @@ local function LoadSkin()
|
||||
|
||||
for i = 1, getn(BlizzardHeader) do
|
||||
local title = _G[BlizzardHeader[i].."Header"]
|
||||
if title then
|
||||
if title and title.SetTexture then
|
||||
title:SetTexture("")
|
||||
title:ClearAllPoints()
|
||||
if title == _G["GameMenuFrameHeader"] then
|
||||
|
||||
Reference in New Issue
Block a user