mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +00:00
misc chatmenu position
This commit is contained in:
@@ -32,6 +32,7 @@ local function LoadSkin()
|
||||
E:SetTemplate(_G[skins[i]], "Transparent")
|
||||
end
|
||||
|
||||
-- ChatMenus
|
||||
local ChatMenus = {
|
||||
"ChatMenu",
|
||||
"EmoteMenu",
|
||||
@@ -45,7 +46,7 @@ local function LoadSkin()
|
||||
E:SetTemplate(this, "Transparent", true)
|
||||
this:SetBackdropColor(unpack(E["media"].backdropfadecolor))
|
||||
this:ClearAllPoints()
|
||||
this:SetPoint("BOTTOMLEFT", ChatFrame1, "TOPLEFT", 0, 30)
|
||||
this:SetPoint("BOTTOMLEFT", ChatFrame1, "TOPLEFT", 0, 35)
|
||||
end)
|
||||
else
|
||||
HookScript(_G[ChatMenus[i]], "OnShow", function()
|
||||
@@ -55,15 +56,6 @@ local function LoadSkin()
|
||||
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 function StyleButton(f)
|
||||
local width, height = (f:GetWidth() * .54), f:GetHeight()
|
||||
|
||||
@@ -89,6 +81,15 @@ local function LoadSkin()
|
||||
StyleButton(_G["VoiceMacroMenuButton"..i])
|
||||
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
|
||||
|
||||
-- Static Popups
|
||||
for i = 1, STATICPOPUP_NUMDIALOGS do
|
||||
local staticPopup = _G["StaticPopup"..i]
|
||||
|
||||
Reference in New Issue
Block a user