compat: make hooksecurefunc append by default

This commit is contained in:
shagu
2025-07-30 20:18:52 +02:00
parent 37a5f1a840
commit 73561eda4a
22 changed files with 45 additions and 45 deletions
+1 -1
View File
@@ -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
View File
@@ -72,7 +72,7 @@ pfUI:RegisterModule("minimap", "vanilla:tbc", function ()
pfUI.minimap:SetAlpha(0)
Minimap:Hide()
end
end, true)
end)
-- battleground icon
MiniMapBattlefieldFrame:ClearAllPoints()
+3 -3
View File
@@ -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)
+2 -2
View File
@@ -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)
+1 -1
View File
@@ -304,7 +304,7 @@ pfUI:RegisterModule("turtle-wow", "vanilla", function ()
-- only run once
initialized = true
end, true)
end)
end)
end