mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-18 10:40:48 +00:00
revert of deletion and merged hotfixes
Please read the Readme for more details.
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
pfUI:RegisterSkin("Game Menu", "vanilla", function ()
|
||||
pfUI:RegisterSkin("Game Menu", "vanilla:tbc", function ()
|
||||
StripTextures(GameMenuFrame)
|
||||
CreateBackdrop(GameMenuFrame, nil, true, .75)
|
||||
CreateBackdropShadow(GameMenuFrame)
|
||||
|
||||
GameMenuFrame:SetWidth(GameMenuFrame:GetWidth() - 30)
|
||||
GameMenuFrame:SetHeight(GameMenuFrame:GetHeight() + 6)
|
||||
if pfUI.expansion == 'tbc' then
|
||||
GameMenuFrame:SetHeight(GameMenuFrame:GetHeight() + 10)
|
||||
elseif pfUI.expansion == 'vanilla' then
|
||||
GameMenuFrame:SetHeight(GameMenuFrame:GetHeight() + 6)
|
||||
end
|
||||
|
||||
local title = GetNoNameObject(GameMenuFrame, "FontString", "ARTWORK", MAIN_MENU)
|
||||
title:SetTextColor(1,1,1,1)
|
||||
|
||||
Reference in New Issue
Block a user