performance update

This commit is contained in:
Meow
2026-01-03 12:33:07 +01:00
committed by GitHub
parent 6c86d83352
commit 96c005239d
60 changed files with 1485 additions and 258 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
pfUI:RegisterModule("bags", "vanilla:tbc", function ()
pfUI:RegisterModule("bags", "vanilla", function ()
local rawborder, default_border = GetBorderSize("bags")
local knownInventorySpellTextures = {
@@ -573,8 +573,8 @@ pfUI:RegisterModule("bags", "vanilla:tbc", function ()
SlotLeave()
end)
-- On TBC, the OnEvent function of the template scans for framenames,
-- and obviously doesn't know the pf-Names. Therefore, triggering
-- The OnEvent function of the template scans for framenames,
-- and doesn't know the pf-Names. Therefore, triggering
-- the update function on each frame manually
if frame == pfUI.bag.left and BankFrameItemButton_Update then
local SlotUpdate = frame.bagslots.slots[slot].frame:GetScript("OnUpdate")