mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-13 08:50:50 +00:00
Version 6.1.0 - Raid/Party Frame Fixes
Bugfixes: - Fixed 40-yard range check not working for raid/party frames - Fixed aggro indicator not displaying properly on raid/party frames - Improved aggro cache to only cache positive results for instant detection - Fixed HP/Mana not updating with "Use Raid Frames for group" enabled - Added SuperWoW nil-check for SpellInfo - Added missing events: PARTY_MEMBER_ENABLE, PARTY_MEMBER_DISABLE, PLAYER_UPDATE_RESTING UI Improvements: - Share/Hoverbind buttons now show warning when module is disabled
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
pfUI:RegisterSkin("Profession", "vanilla", function ()
|
||||
pfUI:RegisterSkin("Profession", "vanilla:tbc", function ()
|
||||
local rawborder, border = GetBorderSize()
|
||||
local bpad = rawborder > 1 and border - GetPerfectPixel() or GetPerfectPixel()
|
||||
|
||||
@@ -219,7 +219,37 @@ pfUI:RegisterSkin("Profession", "vanilla", function ()
|
||||
end)
|
||||
end
|
||||
|
||||
_G[displayed] = 23
|
||||
-- Compatibility
|
||||
if search then -- tbc
|
||||
_G[displayed] = 21
|
||||
scrollframe:SetHeight(338)
|
||||
|
||||
local rank = _G[name.."RankFrameSkillRank"]
|
||||
rank:ClearAllPoints()
|
||||
rank:SetPoint("CENTER", rankbar, "CENTER", 0, 0)
|
||||
|
||||
local available = _G[frame:GetName().."AvailableFilterCheckButton"]
|
||||
SkinCheckbox(available)
|
||||
available:ClearAllPoints()
|
||||
available:SetPoint("TOPLEFT", scrollframe.backdrop, "BOTTOMLEFT", -4, -5)
|
||||
|
||||
search:DisableDrawLayer("BACKGROUND")
|
||||
CreateBackdrop(search, nil, nil, 1)
|
||||
search.backdrop:SetAllPoints(search)
|
||||
search:SetTextInsets(5, 5, 5, 5)
|
||||
search:SetHeight(22)
|
||||
search:ClearAllPoints()
|
||||
search:SetPoint("TOPRIGHT", scrollframe.backdrop, "BOTTOMRIGHT", 0, -5)
|
||||
|
||||
local craft_filter = CraftFrameFilterDropDown
|
||||
if craft_filter then
|
||||
SkinDropDown(craft_filter)
|
||||
craft_filter:ClearAllPoints()
|
||||
craft_filter:SetPoint("BOTTOMRIGHT", scrollframe.backdrop, "TOPRIGHT", 15, 0)
|
||||
end
|
||||
else -- vanilla
|
||||
_G[displayed] = 23
|
||||
end
|
||||
-- build remaining tradeskills
|
||||
for i = 9, _G[displayed] do
|
||||
local button = _G[template..i] or CreateFrame("Button", template..i, frame, template.."ButtonTemplate")
|
||||
|
||||
Reference in New Issue
Block a user