performance update

performance update
This commit is contained in:
Meow
2026-01-03 12:55:04 +01:00
parent 62a53b3c43
commit f5d2f65999
35 changed files with 77 additions and 468 deletions
+2 -6
View File
@@ -1,14 +1,10 @@
pfUI:RegisterSkin("Game Menu", "vanilla:tbc", function ()
pfUI:RegisterSkin("Game Menu", "vanilla", function ()
StripTextures(GameMenuFrame)
CreateBackdrop(GameMenuFrame, nil, true, .75)
CreateBackdropShadow(GameMenuFrame)
GameMenuFrame:SetWidth(GameMenuFrame:GetWidth() - 30)
if pfUI.expansion == 'tbc' then
GameMenuFrame:SetHeight(GameMenuFrame:GetHeight() + 10)
elseif pfUI.expansion == 'vanilla' then
GameMenuFrame:SetHeight(GameMenuFrame:GetHeight() + 6)
end
GameMenuFrame:SetHeight(GameMenuFrame:GetHeight() + 6)
local title = GetNoNameObject(GameMenuFrame, "FontString", "ARTWORK", MAIN_MENU)
title:SetTextColor(1,1,1,1)