mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-26 22:00:49 +00:00
revert of deletion and merged hotfixes
Please read the Readme for more details.
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
pfUI:RegisterSkin("Talents", "vanilla", function ()
|
||||
pfUI:RegisterSkin("Talents", "vanilla:tbc", function ()
|
||||
local rawborder, border = GetBorderSize()
|
||||
local bpad = rawborder > 1 and border - GetPerfectPixel() or GetPerfectPixel()
|
||||
|
||||
HookAddonOrVariable("Blizzard_TalentUI", function()
|
||||
local TALENT_FRAME = _G.TalentFrame
|
||||
local TALENT_FRAME_NAME = TALENT_FRAME:GetName()
|
||||
-- Compatibility
|
||||
local TALENT_FRAME, TALENT_FRAME_NAME
|
||||
if PlayerTalentFrame then -- tbc
|
||||
TALENT_FRAME = _G.PlayerTalentFrame
|
||||
else -- vanilla
|
||||
TALENT_FRAME = _G.TalentFrame
|
||||
end
|
||||
TALENT_FRAME_NAME = TALENT_FRAME:GetName()
|
||||
|
||||
|
||||
StripTextures(TALENT_FRAME)
|
||||
|
||||
Reference in New Issue
Block a user