mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-15 09:40:49 +00:00
compat: make hooksecurefunc append by default
This commit is contained in:
+1
-1
@@ -426,7 +426,7 @@ pfUI:RegisterModule("loot", "vanilla:tbc", function ()
|
||||
end
|
||||
end
|
||||
end
|
||||
end,true)
|
||||
end)
|
||||
else
|
||||
pfUI.loot:RemoveMasterlootMenus()
|
||||
UIDropDownMenu_Initialize(GroupLootDropDown, GroupLootDropDown_Initialize, "MENU")
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@ pfUI:RegisterModule("minimap", "vanilla:tbc", function ()
|
||||
pfUI.minimap:SetAlpha(0)
|
||||
Minimap:Hide()
|
||||
end
|
||||
end, true)
|
||||
end)
|
||||
|
||||
-- battleground icon
|
||||
MiniMapBattlefieldFrame:ClearAllPoints()
|
||||
|
||||
@@ -66,7 +66,7 @@ pfUI:RegisterModule("socialmod", "vanilla:tbc", function ()
|
||||
end
|
||||
end
|
||||
end
|
||||
end, true)
|
||||
end)
|
||||
end
|
||||
|
||||
do -- add colors to friend list
|
||||
@@ -119,7 +119,7 @@ pfUI:RegisterModule("socialmod", "vanilla:tbc", function ()
|
||||
friendInfo:SetVertexColor(1,1,1,.4)
|
||||
end
|
||||
end
|
||||
end, true)
|
||||
end)
|
||||
end
|
||||
|
||||
do -- add colors to who list
|
||||
@@ -193,6 +193,6 @@ pfUI:RegisterModule("socialmod", "vanilla:tbc", function ()
|
||||
local color = GetDifficultyColor(level)
|
||||
_G["WhoFrameButton"..i.."Level"]:SetTextColor(color.r, color.g, color.b)
|
||||
end
|
||||
end, true)
|
||||
end)
|
||||
end
|
||||
end)
|
||||
|
||||
@@ -536,7 +536,7 @@ pfUI:RegisterModule("thirdparty-vanilla", "vanilla", function()
|
||||
local colorstr = rgbhex(RAID_CLASS_COLORS[class].r, RAID_CLASS_COLORS[class].g, RAID_CLASS_COLORS[class].b, RAID_CLASS_COLORS[class].a)
|
||||
_G.WIM_ClassColors[wimclass] = gsub(colorstr, "^|cff", "")
|
||||
end
|
||||
end, true)
|
||||
end)
|
||||
|
||||
-- convo menu
|
||||
CreateBackdrop(WIM_Icon_ToolTip, 0, nil, tonumber(C.tooltip.alpha))
|
||||
@@ -560,7 +560,7 @@ pfUI:RegisterModule("thirdparty-vanilla", "vanilla", function()
|
||||
btn:SetText(btn_txt)
|
||||
end
|
||||
end
|
||||
end, true)
|
||||
end)
|
||||
|
||||
if WIM_HistoryFrame then -- history frame
|
||||
CreateBackdrop(WIM_HistoryFrame, nil, nil, .8)
|
||||
|
||||
@@ -304,7 +304,7 @@ pfUI:RegisterModule("turtle-wow", "vanilla", function ()
|
||||
|
||||
-- only run once
|
||||
initialized = true
|
||||
end, true)
|
||||
end)
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user