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