misc chatmenu position

This commit is contained in:
Crum
2017-12-20 01:21:22 -06:00
parent 21775bf505
commit 2283e209f6
@@ -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]