Commit f16a0495 authored by Tukz's avatar Tukz

Update GameMenu.lua

parent c60e21ba
......@@ -3,10 +3,14 @@ local T, C, L = select(2, ...):unpack()
local Miscellaneous = T["Miscellaneous"]
local GameMenu = CreateFrame("Frame")
local Menu = GameMenuFrame
local Header = GameMenuFrame.Header
local Header = GameMenuFrameHeader
local Logout = GameMenuButtonLogout
local Addons = GameMenuButtonAddons
if T.WoWBuild >= 33051 then
Header = GameMenuFrame.Header
end
function GameMenu:AddHooks()
Menu:SetHeight(Menu:GetHeight() + Logout:GetHeight() - 4)
local _, relTo, _, _, offY = Logout:GetPoint()
......@@ -47,7 +51,11 @@ function GameMenu:Enable()
end
if not AddOnSkins then
Header:StripTextures()
if T.WoWBuild >= 33051 then
Header:StripTextures()
else
Header:SetTexture("")
end
Header:ClearAllPoints()
Header:SetPoint("TOP", Menu, 0, 7)
......@@ -66,4 +74,4 @@ function GameMenu:Enable()
end
end
Miscellaneous.GameMenu = GameMenu
Miscellaneous.GameMenu = GameMenu
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment